06-03-2008 11:08 AM
06-03-2008 11:48 AM
06-03-2008 11:57 AM
06-03-2008 01:04 PM
This is from the customer's computer when the labview executable tries to connect to COM1:
1. viParseRsrc (0x015CB068, "COM1", 0, 65535)
Process ID: 0x000003B4 Thread ID: 0x00000434
Start Time: 13:33:48.266 Call Duration 00:00:00.015
Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
2. viOpen (0x015CB068, "COM1", 4, 0, 0x00000000)
Process ID: 0x000003B4 Thread ID: 0x00000434
Start Time: 13:33:48.281 Call Duration 00:00:00.000
Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
3. viParseRsrc (0x015CB068,
"COM1", 0, 65535)
Process ID: 0x000003B4 Thread ID: 0x000003DC
Start Time: 13:33:48.469 Call Duration 00:00:00.000
Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
4. viOpen (0x015CB068,
"COM1", 4, 0, 0x00000000)
Process ID: 0x000003B4 Thread ID: 0x000003DC
Start Time: 13:33:48.469 Call Duration 00:00:00.000
Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
5. viParseRsrc (0x015CB068, "COM1", 0, 65535)
Process ID: 0x000003B4 Thread ID: 0x000003DC
Start Time: 13:33:48.484 Call Duration 00:00:00.000
Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
This is from my computer:
1. viParseRsrc (0x0242E768, "COM1", 4, 1)
Process ID: 0x00000B88 Thread ID: 0x00001090
Start Time: 13:59:52.149 Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
2. viOpen (0x0242E768, "COM1", 4, 0, 0x07614660)
Process ID: 0x00000B88 Thread ID: 0x00001090
Start Time: 13:59:52.149 Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
3. viGetAttribute (COM1 (0x07614660), INTF_TYPE, 4)
Process ID: 0x00000B88 Thread ID: 0x00001090
Start Time: 13:59:52.149 Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
4. viSetAttribute (COM1 (0x07614660), TMO_VALUE, 10000)
Process ID: 0x00000B88 Thread ID: 0x00001090
Start Time: 13:59:52.149 Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
5. viSetAttribute (COM1 (0x07614660), ASRL_BAUD, 9600)
Process ID: 0x00000B88 Thread ID: 0x00001090
Start Time: 13:59:52.149 Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)
06-03-2008 01:12 PM
It does look like the other computer is not recognizing com1. I'm curious about the manual installation of a couple of dlls and your statement that you had to install a serial/parallel driver. What were the dlls and what was this separate serial/parallel driver? There are no separate 'serial/parallel' drivers required and I don't know what you are referring to.
You might want to uninstall what you placed on this other pc and then try doing a reinstall.
06-03-2008 01:18 PM
The dlls were just for the data aquisition card (niidaq.dll and niidaq32.dll).
The strange thing is that "Measurement & Automation Explorer" is having no problem recognizing the serial port(after I installed the NI serial port driver).
Its just the labview(7.0) run-time environment that is having trouble.
06-03-2008 01:46 PM
Are you attempt ing to get an exe running?
Check if you have alias's defined in your app's ini file.
serialDevices="COM1;COM2;COM3;COM4;COM5;COM6;COM7;COM8;COM9;LPT1;LPT2;LPT3;LPT4"
There was also a VISAconf.ini (?) that used to be used to map the ASRL to COM's
Ben
06-03-2008 01:55 PM
I just tried adding the serial port alias list to the ini file. didn't do anything.
I've run this on lots of computers and never had this problem before (usually, if there was an issue, it was with the DAQ card, not the serial port).
I might just have to start uninstalling and re-installing various combinations of drivers till I get one that works.
06-03-2008 01:57 PM