Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Read and Write for force sensor


Hello 
I am have a question regarding getting data from my device ( Force Sensor Dillon GTX250) through USB port
I wrote a program ( please see the attached) to get the data of force but it gets data very slowly. the  data sampling for this device based on the catalog is 2000Hz. 
I am wondering, maybe there is some problem in programning since when I put the close VISA function out of the loop it starts to get data very fast but the problem is data are meaningful. 

I Would appreciate if any one could help me to get the data more faster near the sampling rate. and also I want to plot the data based on the time which I couldn't

 

Thanks

0 Kudos
Message 1 of 2
(3,392 Views)

1. Move VISA configure serial port and VISA close out of the loop.
2. Put event structure in separate loop.

0 Kudos
Message 2 of 2
(3,386 Views)