LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insutrment: Rear & Display Template

ATTENTION ALL.

For some reason. The GPIB device has shown up in the Insutrment Explorer window. I hit scan for instruments and now the instrument was detected.

 

Is it now safe for me to assume that I can move onto the Labview side of things and try to figure out working with this Template?

I am using my Labview 8 book and going through the tutorial for the Instrument I/O assistant.

 

As I started to go through the steps of the tutorial I ran into a "Timeout Error". Why am I receiving this error when the first Query and Parse step works fine?

0 Kudos
Message 11 of 17
(936 Views)

Hi ToddH,

 

It looks like you might be getting a timeout because of a lack of a termination character. Do you know what termination character your device requires?

 

Hope this helps!

 

Chris T.
0 Kudos
Message 12 of 17
(911 Views)

What does termination Character mean? Where can I find it?

Is this the instrument address that is internal to my instrument?

 

0 Kudos
Message 13 of 17
(903 Views)

Hi ToddH,

 

A termination character just tells the device when the command has finished being sent. Sometimes this can be a LF (linefeed) or CR (carriage return). This can be found in the user manual of your device. Essentially what might be happening, is when you're sending out the MEAS:DC?, your side is finished sending out the data but the instrument is still waiting for the termination character to tell it that the command is done sending. Your side is waiting for a response and the instrument is waiting for a response as well. Then on your side it times out which throws an error. Try changing the termination character that your side sends (you'll notice that in the last screenshot you sent, be side the command, it said <None> for termination character).

 

Hope this helps!

 

Chris T.
0 Kudos
Message 14 of 17
(896 Views)

Hi ToddH,

 

Sorry about the last message, so GPIB doesn't require a termination character (I thought it was serial for some reason). It doesn't hurt to have one. I wanted to ask what you were sending on the first Query and Parse?

 

Thanks!

Chris T.
0 Kudos
Message 15 of 17
(885 Views)

I need to re-visit this problem so I can try and get some datalogging done on Saturday. Seems like I will be working Saturday ;(

 

Chris,

I wanted to ask what do you mean by this questions?

"Sorry about the last message, so GPIB doesn't require a termination character (I thought it was serial for some reason). It doesn't hurt to have one. I wanted to ask what you were sending on the first Query and Parse?"

 

The steps i added were displayed in the screen shot I had above. I followed the instructions in this thread exactly as stated.

I will try and play with this some more and update my post shortly.

 

0 Kudos
Message 16 of 17
(843 Views)

Hi ToddH,

 

Looking at the User Manual for the device, it looks like the command to measure isn't Meas:DC? but :MEAS:VOLT? or :MEAS:TEMP?

 

Hope this helps!

Chris T.
0 Kudos
Message 17 of 17
(797 Views)