Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a Watlow F4

Hello All,

 

I am new to Labview and will be using it to communicate with a Watlow F4 controller. The instrument I am communicating with is a Watlow F4 controller used to control a Associated Enviormental Systems chamber. First, I would like to open a communiation to the controller and have it send data every 20 mins while I conduct my experiments. The chamber sends out information about temperature and humidity. I would like to record this as an excel file. Eventually I would like to set temperature/humidity profiles from labview and record the data.

 

Right now I have not been able to establish a successful communciation. I have been searching through similar threads but I'm still getting a timeout error. I have attached my current VI and appreciate any advice as I continue to troubleshoot my VI. 

 

Best,

Naim876

0 Kudos
Message 1 of 10
(6,480 Views)

Hi,

 

Could you try to use the *IDN? command through the VISA test panel in MAX? This is a good way to test if any sort of commands are getting through to your controller.

 

 

James F.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 10
(6,456 Views)
I believe the F4 uses modbus and sending idn would just be silly.

Naim,

I'm posting by phone so I can't view your VI. Which modus driver are you using?
0 Kudos
Message 3 of 10
(6,452 Views)

That is correct, It uses Modbus. I first attempted using the Waltlow drivers but they didnt to work so I substiuted the serial-visa. Take a look at the VI when you get a chance and let me know. All help is valued, thanks.

 

 

Naim

0 Kudos
Message 4 of 10
(6,440 Views)
As I said, I'm posting from my phone. Attach a snippet of the block diagram. The VISA functions by themselves are not enough. You should be using the modus library.
0 Kudos
Message 5 of 10
(6,438 Views)

see attahced snippet

 

0 Kudos
Message 6 of 10
(6,423 Views)

That's not a LabVIEW snippet. Look it up in the help.

You aren't using the modbus library. I said you couldn't use the plain VISA functions. You could have done the search yourself -
http://www.ni.com/example/29756/en/ 

0 Kudos
Message 7 of 10
(6,419 Views)

I am running an old version of Labview, verson 8. 

0 Kudos
Message 8 of 10
(6,402 Views)
Upgrade LabVIEW or request a down conversion. The conversion board is linked at the top of the main LabVIEW c page.
0 Kudos
Message 9 of 10
(6,400 Views)

I had a similar timeout problem with a Watlow controller because I wasn't setting the right baud rate. Mine required 19200.

Once I set that right, the communication was ok.

 

Later edit: 19200, not 19600 I initially wrote.

0 Kudos
Message 10 of 10
(6,361 Views)