LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have experience with the CR23X microloggers from Campbell Scientific?

I am trying to use lv to communicate with some data loggers from Campbell Scientific (CR23X Model). I have had no trouble communicating with them through hyper terminal, however when I try to communicate with them through lab view using the VISA functions I can't seem to get it to work. The logger is connected to my com port currently, but in the future it is going to be connected via one of ni's e-net devices over ethernet. I assume the conversion will be as simple as changing the visa name, and hopefully that is the case. Basically all I'm doing is sending strings out over the serial port that represent the commands that I would type into hyperterminal or procom or whatever. It seems
like it would be a simple enough switch to me, but maybe I am mistaken. Do I need to send the data as some form of binary or something like that? Any ideas at all would be helpful. Thanks!!!
0 Kudos
Message 1 of 4
(3,471 Views)
Hello-

The conversion will probably be that simple. There are a few interface specific features. Serial has baud rates, stop bits, parity, etc. It may be necessary to make a case statement checking the type of VISA interface. Also, GPIB has SRQ's which are pretty much an interrupt line from the instrument to the controller. SRQ's are not available in GPIB.

It would really saved a lot of time if there was an instrument driver some where. There was not a driver for this instrument either at http://ni.com/idnet. This leaves you with one of a couple options. It may be possible to modify an existing driver to work with this instrument. Otherwise, http://www.ni.com/devzone/idnet/other.htm states a few options to obtaining a driver. Drivers are d
eveloped based on demand and popularity so the more requests, the greater the possibility that one will be developed. It would also be beneficial to notify the instrument manufacturer.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,471 Views)
Hi,

I wrote an programm which works for the CR7 and the 21X, may be it you can modify it for your application. Think I made it with LV 6.1. If you have a question, please let me know.

Frank
0 Kudos
Message 3 of 4
(3,473 Views)

Hello,

 

Does anyone have an interface program for LabVIEW and any of the Campbell Scientific data loggers?  The file on this forum by Frank appears to be corrupt.  Any help is appreciated.

 

Thanks,

 

Eric

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