10-01-2010 03:22 PM
Hi
I have a serialport. SO you can change the level? i cant
made a new vi but that dosent work either....
On that computer with the com port i have not installed LV so i run it as a application? is it that?
ataching the aplication and new vi
10-01-2010 03:52 PM - edited 10-01-2010 03:53 PM
Hi
Thanks for testing.
The EMC software sets the voltage high.
I have a new computer that i programming on with no com port i think but when running the vi it finds one ??? strange no fysical com or ltp port but it sas in the computer settings that it exist.
When running the vi it sets both the DTR and RTR asserted. But when running the vi application it dosen't work ? Maybe it is the application that doesen't work...
10-01-2010 04:22 PM
Read the instruction book for the motherboard.
I have a com and ltp port but not connected to a d-sub....
But still the vi works but the exe (application doesen't)
10-01-2010 05:14 PM
If you are running the application on another computer then you need to make sure that NI-VISA is installed on the other computer. NI-VISA is a separate installer and is not included with LabVIEW. It should be on your Device Drivers CD, or you can download it from NI.
10-02-2010 03:40 AM
Hi
Thanks for the tip. Have the Visa installed but i found that "NI-serial 3.6" was not installed. After installing that both the .vi and the .exe worked.
Made a new ditrubution file with NI-serial 3.6 and now it was energized and the DTR-RTS.exe worked
Will try reading the rs-232 later.....
10-02-2010 12:02 PM
NI-Serial is only required if you have one of NI's serial interface units. You indicated you did not have one of these. In fact, your statements were quite confusing about having a COM port but no D-Sub, which makes no sense. So, can you please indicate exactly what you do have?
10-02-2010 01:06 PM
SOrry for the confusing statetment.
On the computer that i'm programming LV (a new with W7) Dont have anny on the outside found one on the motherboard.
On the computer that i'm running the software on (as an .exe file) an old laptop with xp and a com port.
But when running the vi on w7 computer it worked as supposed but running the .exe file dident work on either the xp or the w7 computer.
But afer instalation of NI-serial 3.6 on both the .exe file work on both computers
tested the read test.vi as read test.exe on the xp computer with the com port and it set DTR high and power the device but it dosen't read anything despite that DSR is hig and a puls is comming the original EMC still works ???
10-02-2010 05:15 PM
Hi
Eureka
Asked the writer of the EMC code. He wrote that maybe 1200 to 9600 baud is better for a flashing LED. 110 Baud is more when the meter has a S0-output.
He says that his program is written in VB. Looks like he test different baud rates that give a nice "signal". There were a advance mode there you could change the baud rate
Tested 2400 baud and it worked nice and recorded a F8
Thanks for all help.
I have learned a lot