07-12-2013 12:24 PM
I have made a code when I run the VI it is working perfect while when I made the EXE the programme is sending the signals but not receiving any. I am running the EXE with different laptop. I have downloaded the labview and NiDAQ 9.7
I do not have any kind of error or anything just I cannot read the output from DAQ
Any suggestions. Please
07-12-2013 12:30 PM
@uturnnn wrote:
I have made a code when I run the VI it is working perfect while when I made the EXE the programme is sending the signals but not receiving any. I am running the EXE with different laptop. I have downloaded the labview and NiDAQ 9.7
I do not have any kind of error or anything just I cannot read the output from DAQ
Any suggestions. Please
Can you post your code or show a snapshot ?
How do you know your EXE is sending signals ? How are you verifying that ?
07-12-2013 12:43 PM
Check channel names and tasks on the laptop and double check they match what is in the code. Do you have an error indicator connected to the code generating the output? If you don't you can just put one in for testing and rebuild the exe to see what is going on and remove it later. I have no idea if you have done that since I have not seen your code.
Good error checking is always good with exe's because so many things can change when not using the development machine.
07-12-2013 02:12 PM
DAQ assistant 1 and 3 has an analog out which is working cause I'M seeing a physical change with my test.
while DAQ assistant 2 has an analog input to labview the problem that I'M not reading any values from it.
This happening only when I'M using Exe file
if I run it on normal labview it is working
07-12-2013 02:20 PM
Try running the exe on your LabVIEW machine and see if it works.
07-12-2013 02:21 PM
it is working
07-12-2013 02:24 PM
That would mean something is setup differently with the DAQ on the laptop. What are you using for IO on the deveopment machine and the laptop?
07-12-2013 02:29 PM
The only different that I am seeing is that on the development machine I am using NiDaqmx 9.5.1 while in laptop I am using Nidaq 9.7
can it be the problem?
07-12-2013 02:37 PM
So you are not getting any errors out of DAQ assistant 2? Did you try putting an indicator on the output of DAQ assistant 2 to see if the data is coming out properly before it goes to the statistics block? (For the exe)
07-12-2013 02:47 PM
yes there are not any data going throw