08-24-2011 07:41 AM
Hello,
im very new to LabView programming and working with the MAX. I want to get control over the LakeShore 336 trough Ethernet in the first step and then with a ethernet connection to a cRio 9704 - System. (Can skip the first step, but i thought it is maybe not that difficult)
but I have already difficulties to see the TempController in the MAX system to configure it. It doesnt appear in VISA TCP/IP sysems or at Remote Control. Even if I search for the IP of the Controller it doesnt find it. I checked that the host-pc and the controller are in the same subnet. I think there could be an easy solution but I dont see it.
I would be thankful if someone can help me.
08-24-2011 09:59 AM
I don't think you need to do anything in MAX to communicate with this device. You can use VISA to communicate with it however you can also use th enative TCP VIs. This instrument listens on port 7777. Simply open a connection using the IP address of the deviec and that port number. Once the connection is established send teh appropriate commands to the device. When necessary read the response.
The quick search I did showed there were LabVIEW drivers but they seemed to be for serial and GPIB. If these use VISA you should be able to use them with the network connection. Your VISA resource name would be TCPIP::<IP Address>::7777::SOCKET. (Replace "<IP Address>" with the correct address.
08-26-2011 03:50 AM
Hello,
thanks for your help, but there are still problems. First of all I tried with the native TCP-Vis and I could establish a communication, but if I try to work with the VISA Commands the VISA READ always returns an error. I tried the example VIs of Lakshore and the same happens at the moment the VISA READ VI is involved.
And for further uses I want to integrate the LAKESHORE 336 into a cRio 9074 System trough ethernet. Is this possible without using the MAX-System?
08-26-2011 10:41 AM
Yes, use ONLY the native TCP primitives. You will need to format the commands for the devices as specified in the manual. You can't mix the native TCP primitives with the VISA VIs. You need to use one or the other.
08-30-2011 03:32 AM
Hello,
thx for your help it worked with TCP and VISA!
But now I have a new problem to be solved. I want to controll the 336 trough the second ethernet port of a cRio 9074 System. I tried it with this walktrough
http://zone.ni.com/devzone/cda/tut/p/id/6872
but this works for a second network and I have the Lakeshore 336 connected as a VISA ressource. Is it still possible to get control over the 336 trough the cRio system?