LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

receive symbol not data

i used VISA to retrieve data from device(TADATAKER). when i unload the historical data to my computer. The data come out all symbols.How to solve it?Is it the computer speed will affect the VISA to receive data?
0 Kudos
Message 1 of 5
(3,007 Views)
5167,

Are you using VISA to do serial communication? GPIB? Interpreting the data that is returned depends on the kind of instrument. You may need to contact the instrument manufacturer or consult their documentation to learn what format the data is returned in.

In any case, this is a LabVIEW Real-Time forum, so I suggest that you post this in the VISA forum.

Regards,

Gerardo Garcia
National Instruments
Applications Engineering
0 Kudos
Message 2 of 5
(3,007 Views)
5167,
You may find this example to be helpful. It tries a few different methods of converting your data into a readable ASCII format. You may need to modify it some to meet your needs.

Jason

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3D82D56A4E034080020E74861&p_node=DZ52348&p_submitted=N&p_rank=&p_answer=&p_source=External
0 Kudos
Message 3 of 5
(3,007 Views)
hi Gerardo Garcia,
I am using VISA. I know that the data returned by device are in normal string format but i think is the VISA(time out) problem because i can receive the data in using VB.
0 Kudos
Message 4 of 5
(3,007 Views)
5167,

Are you doing error checking? If it is a timeout you should be getting an error at some point. It's always good practice to do error checking in your LabVIEW program.

If you are doing serial communication you can set the timeout to be longer with the VISA Configure Serial Port VI. If you are doing GPIB communication, use the VISA Set timeout property node located in the VISA>>Advanced palette.

Regards,

Gerardo
0 Kudos
Message 5 of 5
(3,007 Views)