LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about communication Chroma6334 via COM

Now i control 6334 via COM have any questions.
we send the ":CHAN 7;:CONF:VOLT:RANG 1.600000E+1;:MODE CCH;:CURR:STAT:L1 5.000000E+0;:CURR:STAT:RISE 3.200000E-3;:CURR:STAT:FALL 3.200000E-3;" via com1, the CH7 ON LED of the 6334 can light .
we send the ":MEAS:INP LOAD;:CHAN 7;:MEAS:VOLT?;CURR?;" ,6334 do not reply via com. i am sure the com of PC is OK, why no data received?
now i connect three line: Pin2 is connected to Pin3 of PC' Com1, Pin3 is connected to Pin2 of PC' Com1, Pin5 is connected to Pin5 of PC' Com1. If is not correct,please tell me how can do.
Are the send datas error or Com connect?
0 Kudos
Message 1 of 7
(2,549 Views)

Hello Rollin,

So when you send the first command the LED lights up, indicating all is well?  But don't get data with your second command?  If this is indeed the case, then there's something wrong with the second command.  But if you're not sure of the former either, then you will want to concentrate on the communication side of things. 

Do you get any errors in your VISA Read/Write functions?

-Khalid

0 Kudos
Message 2 of 7
(2,545 Views)
I send ":CHAN 7;"the CH7 ON LED of the 6334 can light and send ":CHAN 5;"the CH5 ON LED of the 6334 can light ,I try the channel include 1\3\5\6\7\8, the CHAN command is ok. Only i can't receive the data from 6334. The error message is not read from 6334.
0 Kudos
Message 3 of 7
(2,544 Views)
That's good to know.  So, you will want to analyse your data-query command.  There lies the problem, looks like.
 
-Khalid
0 Kudos
Message 4 of 7
(2,540 Views)
Hi Khalid ,I send my program that i use to debug up ,if you have the 6334, maybe you can try it, thanks.
0 Kudos
Message 5 of 7
(2,540 Views)

Rollin,

I don't have that device.  Do you get any VISA errors?  Also, you seem to open a VISA session in the beginning and then another one.  I am confused... and sleepy  Smiley Sad

-Khalid

0 Kudos
Message 6 of 7
(2,536 Views)
Hi ,Khalid ,Thanks for your care, I'll try it again, maybe only have some little questions. Smiley Happy
0 Kudos
Message 7 of 7
(2,533 Views)