Search Results

by dxc536
Mon May 10, 2021 2:03 pm
Forum: Matlab
Topic: waitForAttachment error
Replies: 1
Views: 48787

waitForAttachment error

Hello, I understand phidgits21 is no longer supported, but since I have it my phidgets integrated with matlab, I'm still using it. I'm using the analogin_mod.m function in a while loop where I'm getting updated values from a bendsensor. I've recently upgraded my computer and will now unreliably run ...
by dxc536
Mon Jun 17, 2019 10:31 am
Forum: Matlab
Topic: Set Data Rate
Replies: 1
Views: 24170

Set Data Rate

Hello, I'm using the polling method to read in sensor data into matlab and I don't think I understand where to place 'CPhidgetInterfaceKit_setDataRate' in order to change the datarate. After I run: loadphidget21; handles.phid = libpointer('int32Ptr'); calllib('phidget21', 'CPhidgetInterfaceKit_creat...
by dxc536
Wed Nov 01, 2017 10:09 am
Forum: Matlab
Topic: Live graphing voltage in Matlab
Replies: 5
Views: 619655

Re: Live graphing voltage in Matlab

Thank you! That helped a lot. Sorry, but I have another question. I was able to plot the sensor value continuously in the while loop - this is the orange plot in the attachment. ( Phidgets Matlab Plot.png ) Ultimately I would like rescale the values in the while loop so they range between 0 to 100 b...
by dxc536
Tue Oct 31, 2017 1:38 pm
Forum: Matlab
Topic: Live graphing voltage in Matlab
Replies: 5
Views: 619655

Re: Live graphing voltage in Matlab

Thank you for your reply. I've looked at both resources and I have a follow-up question. Essentially I am able to get the read out using the analogin.m function. In order to get continuous output I placed the function in a while loop and have continuously plotted the sensor value: ----- n = 1; while...
by dxc536
Mon Oct 30, 2017 2:36 pm
Forum: Matlab
Topic: Live graphing voltage in Matlab
Replies: 5
Views: 619655

Live graphing voltage in Matlab

Hello, I have the phidgets board interface kit and I have a bend sensor that has an analog input which the phidgets board converts to digital output. I would like to create a 'tracking' program in matlab where I feed in a predefined Sine Wave and the subject is able to see their phidgets voltage in ...