LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing data acquired by MAX in Labview

I  used MAX sofware to communicate with instrument though rs 232 but how do I access this data in labview?
The data is in Hex format
0 Kudos
Message 1 of 6
(3,013 Views)

Hello,

I suggest you to use the Instrument I/O Assitent in LabVIEW. With the Instrument I/O, you can use to communicate with message-based instruments and graphically parse the response. The Instrument I/O Assistant organizes instrument communication into ordered steps. You can use the Instrument I/O Assistant to send a query to an instrument to verify communication with that instrument. For example, you can communicate with an instrument that uses a serial, Ethernet, or GPIB interface.

Using the Instrument I/O Assistant to Aid in Creating LabVIEW Instrument Drivers

 

Instrument Control in LabVIEW Tutorial

Best regards,
Nick_CH

0 Kudos
Message 2 of 6
(3,007 Views)
Thanks Nick, I will try that.


0 Kudos
Message 3 of 6
(2,990 Views)
Hi Again,
Upgraded labview to 8.2 and have successfully communicated with the instrument using I/O assistant but get the following configuration error.

VISA status code 6FFF0015
Timeout expired before operation completion.

Can anyone help me with this?

Thanks

0 Kudos
Message 4 of 6
(2,977 Views)
I'd say you were unsuccessful in using the I/O Assistant since you get a timeout error. A timeout error occurs when there is no data to be read from the device and this is often due to the fact that you are not sending the data in the correct format. How are you configuring it to send the data in hex? Instead of the I/O Assistant, I would recomend that you using one of the shipping examples for serial communication. Both have a string control that you can right click on and set for Hex Display. Enter the data there and do a write. If the data returned is hex, then you need to set the string indicator for hex display as well. Instead of string controls and indicators, you can also use a U8 array control and the Byte Array to String for the data to be sent. With the string returned by the VISA Read, you would then use the String to Byte Array function.
0 Kudos
Message 5 of 6
(2,972 Views)
Hello,

With the Instrument I/O Assistant, you are able to define a timeout. Per default the value is 3000ms.
It can happen that the process take more time. I will try to same a greater value for the timeout and try again.

Best regards,
Nick_CH
0 Kudos
Message 6 of 6
(2,969 Views)