Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

kistler device ignores commands at random

Hi,

 

I'm fairly new to labview and i've got a problem communicating with a Kistler charge amplifier (Type 5018) via visa. The device is connected via usb to pc and adressed at com3. The issue is that the device totally ignores my commands at random. Sometimes it works just fine, sometimes it ain't. I've got no clue where the mistake is to find, but as i said... i'm fairly new to labview. 

 

I've cut the VI down as much as possible to be preferably simple. I hope you can help me out by looking over it.

 

Thank you very much and please excuse my poor english!

0 Kudos
Message 1 of 4
(4,030 Views)

You are not sending a carriage return by putting <cr> in your string. All that is doing is sending those characters. The correct way to terminate a string has been discussed hundreds of times. If you want to use a single string/constant, use '\' Code Display - a right click option. The use \r for carriage return.

Message 2 of 4
(4,018 Views)

Ah ok,

 

I certainly didn't know that. Thanks so far. With the right keywords it wasn't hard to find some more information about that. I really hope this will have an effect on my issue.

0 Kudos
Message 3 of 4
(4,009 Views)

Hi,
I have the same problem. Can you paste the right code?
I couldn't to communicate the computer with kistler 5018. When I ask to read serial I don't see nothing.
Thanks

 

0 Kudos
Message 4 of 4
(3,080 Views)