LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ecm-1240 command issue with Labview

Hi, can you help me?. I can not communicate with my ecm-1240 energy meter through rs232, I send the following, and ecm 1240 have to answer but Visa doesnt show any response.

 

PC sends FC (hex)
ECM-1240 responds with FC (hex)
PC sends three ASCII bytes “S” “E” “T” (must be upper case characters)

ECM-1240 responds with FC (hex)

 

Thanks a lot

0 Kudos
Message 1 of 8
(4,948 Views)
You aren't sending hex. You are sending the ASCII characters 'F' and 'C'. Just right click on the string constant and select Hex Display. Wire that directly to the VISA Write.
0 Kudos
Message 2 of 8
(4,928 Views)

Thanks, but still no working i canot receive anything

0 Kudos
Message 3 of 8
(4,886 Views)
And what if you type in FC into the constant? It's unclear what the value is supposed to be. You have the hex values of the ASCII characters F and C, not 0xFC.
0 Kudos
Message 4 of 8
(4,866 Views)
Before start to use labview for hardware communication first test your connection and comment by some software like hyper terminal
and if you find any thing is ok start to use labview visa
0 Kudos
Message 5 of 8
(4,842 Views)
Since hyperterminal no longer ships with Windows, you'll need to use something else unless you want to pay for it. Try putty or versaterm. Hyperterminal was a poor choice for hex anyway.
0 Kudos
Message 6 of 8
(4,820 Views)

@Dennis_Knutson wrote:
Since hyperterminal no longer ships with Windows, you'll need to use something else unless you want to pay for it. Try putty or versaterm. Hyperterminal was a poor choice for hex anyway.

yes for hex it is better to use software like x-ctu

also i have hyper for win7 Dennis 

I try to send it here 
both  x-ctu and hyper but 
I couldn't (some error happened?
I can mail you if you want 

 

0 Kudos
Message 7 of 8
(4,799 Views)

OK,  im getting better. Now i can send FC in hex but still cant send 3 ascii bytes. can you please look at the picture to help me

0 Kudos
Message 8 of 8
(4,766 Views)