Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Granville Phillips 358 RS232 Module Communication PXI-8430

Solved!
Go to solution

Hi,

 

I am trying to communicate with the 358 Granville Phillips Micro-Ion Controller but it is not responding. I send "IG1 ON CRLF" and it just times out. I am wondering if it is any of the board switches that are not in the right setting. We put all the switches to factory settings, is there a switch that is not the factory setting to enable communication with PXI-8430/8?

 

Thank you!

0 Kudos
Message 1 of 8
(5,282 Views)
Are you actually sending the text 'CRLF'? That stands for carriage return/line feed and you have to send the actual control codes. A simple way is do it the same way as the simple serial example and enable slash codes for your string control/constant. This is a right click option. Use \r\n. You also have these as string constants if you use the concatenate string function.

You haven't mentioned it but I'm assumimg you are using LabVIEW.
Message 2 of 8
(5,277 Views)

Thanks for responding so quickly!

 

I just tried sending these strings:

 

DS\sIG\r\n

DS\sIG1\r\n

DS\sIG2\r\n

DS\sCG1\r\n

DS\sCG2\r\n

 

IG1\sON\r\n

IG1\sOFF\r\n

IG2\sON\r\n

IG2\sOFF\r\n

CG1\sON\r\n

CG1\sOFF\r\n

CG2\sON\r\n

CG2\sOFF\r\n

 

DS\sIG\s\r\n

DS\sIG1\s\r\n

DS\sIG2\s\r\n

DS\sCG1\s\r\n

DS\sCG2\s\r\n

 

IG1\sON\s\r\n

IG1\sOFF\s\r\n

IG2\sON\s\r\n

IG2\sOFF\s\r\n

CG1\sON\s\r\n

CG1\sOFF\s\r\n

CG2\sON\s\r\n

CG2\sOFF\s\r\n

 

And nothing. It still times out and says the VISA Read failed.

 

I have also been trying these VIs I have attached

0 Kudos
Message 3 of 8
(5,250 Views)

. . . but alone they still have errors when trying to VISA Read. I tried adding \r\n to these VIs but still no luck.

 

Thanks for all your help!

-Amanda

Download All
0 Kudos
Message 4 of 8
(5,249 Views)

Those vi's sound really familiar. The instrument is still working with these vi's

 

So first check: do you have the correct cable?

null modem or straight. I'm sorry I don't know what it is anymore and can't check either in the clean room.

 

Next Question, are both systems having the same bausrate and other settings?

 

good luck

greetings from the Netherlands
Message 5 of 8
(5,245 Views)

The granville-phillips_370 VIs still do not work.

 

Tha cable setup I have is from the NI PXI-8430/8 RS232 to a breakout cable (SCSI-68 to eight DB9 male), then a straight 9pin cable to a 9pin to 25pin converter, then through a Female-Female gender bender and then to the RS232 card of the 358 Granville Phillips. I hope the 25-9pin converter is not messing anything up.

 

All the settings are correct as described in the manual: 9600 BAUD, 8 data bits, no parity,1 stop bit. Is there any flow control or other settings I need to change to operate?

 

Thank you for your help!

-Amanda

0 Kudos
Message 6 of 8
(5,242 Views)
Solution
Accepted by Amanda2482

It is for a reason that we call the RS232 standard

Regularly Soldering 2-->3-->2 standard

 

if 2 and 3 are swapped, the machines are shouting at the same line and listening to nobody on the other line...

greetings from the Netherlands
Message 7 of 8
(5,230 Views)

Problem Solved!

 

The 25 pin to 9 pin converter switched pins 3 and 2 physically. To switch them back I used a 9 pin to 9 pin Null Modum and everything worked!

 

Thanks to everyone who helped me out.

-Amanda

0 Kudos
Message 8 of 8
(5,194 Views)