Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

DigiVAC Model 450 Pressure Controller Labview drivers

Hi,

 

I have been working on writing LabVIEW instrument drivers for DigiVAC Model 450 Pressure Controller using VISA.

I have tried searching on the ni.com/idnet but could not find a driver. It would be great if anyone can help me in this regard.

 

 

Thanks
Srikar

0 Kudos
Message 1 of 7
(4,913 Views)
So how far have you gotten with writing the driver? What sort of specific problem are you having? You should attach your code and the programming manual.
0 Kudos
Message 2 of 7
(4,908 Views)

Hi Dennis_Knutson,

 

I have initially communicated with the instrument using NI MAX. By using the commands in the manual I am able to give a setpoint, change to remote mode etc.

Then I tried creating a driver using the VISA blocks. But somehow I am not able to give a setpoint using the VISA write block. I am unable to figure out the reason for this.

I am attaching the DIGIVAC 450 manual,LabVIEW project and commands screenshots for your reference.

 

 

Thank you.

 

Srikar

 

0 Kudos
Message 3 of 7
(4,870 Views)
You aren't sending the actual control characters. You are just sending some text as termination characters. Right click on your string control and select '\' Codes Display and use \r (carriage return) and \n (line feed) or use the constants on your string palette. In MAX, you must have used \r and \n, didn't you?
Message 4 of 7
(4,865 Views)
p.s. You should enable the termination character with the configure function. This will mean a read will automatically terminate when the character is detected.
0 Kudos
Message 5 of 7
(4,861 Views)

Thanks a lot. It is working now.

 

In MAX I have just given the following commands:

*v123.0 <cr> <lf>

*v123.0

 

Both of these commands have worked in MAX. I have not used \r and \n .

0 Kudos
Message 6 of 7
(4,856 Views)
It shouldn't have. You got lucky somehow.
0 Kudos
Message 7 of 7
(4,854 Views)