Instrument Control (GPIB, Serial, VISA, IVI)

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 7
5.337Visualizzazioni
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
Messaggio 2 di 7
5.332Visualizzazioni

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
Messaggio 3 di 7
5.294Visualizzazioni
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?
Messaggio 4 di 7
5.289Visualizzazioni
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
Messaggio 5 di 7
5.285Visualizzazioni

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
Messaggio 6 di 7
5.280Visualizzazioni
It shouldn't have. You got lucky somehow.
0 Kudos
Messaggio 7 di 7
5.278Visualizzazioni