02-26-2009 10:25 AM
Hi,
I am trying to run a program that logs temperatures but I am having the following issue:
The program as a vi works it logs the temperatures and saves all the data like expected. Also if i run the executable on the same pc that created the exe it works. However when I make it into an excutable and try to run on another pc the program stops giving me error -200428 and states "Property Node DAQmx Timing (arg 1) in DAQmx Timing(Sample Clock).vi:1->16_ThermocoupleDAQ(Triggered).vi<append><B>Task Name:</B>LogData" How do I fix this error?
Please help this is quite urgent.
Thanks
Chris
Solved! Go to Solution.
02-26-2009 11:03 AM
02-26-2009 11:51 AM
Dennis is correct.
Most of the time, when code works on one computer and not another, it is hardware/configuration related.
For example, the VI will expect to read from one COM port and the second computer has the hardware reading through a different COM port.
Creating an installer, as Dennis said, will let the second computer know how to configure the hardware.
02-26-2009 12:42 PM
You are exactly correct. Just before your post I realized that the task I was sourcing was not included on the machine I was running. So you are saying if I create an installer that I will have my tasks associated with the vi installed? Is there any other way to install the tasks without creating an installer or having Measurement Explorer licensed?
Thanks
02-26-2009 12:46 PM
I don't believe so. The only way you could create the tasks without the installer would be to have LabVIEW and MAX installed on the second computer, and to manually set up the tasks on the computer. Without MAX, this would not be possible. It would be easier to create an installer regardless, just to save the time and effort.
Chris S. wrote:Is there any other way to install the tasks without creating an installer or having Measurement Explorer licensed?
02-26-2009 01:04 PM - edited 02-26-2009 01:06 PM
What I'm saying is that when you create an installer in your project, one of the options is to export the MAX config and then include that and when run on a new pc, that config will be imported into MAX.
If you want, you can manually export a MAX configuration and manually import one. Just look under the File menu in MAX. You would need to install MAX.
You could also place all of the required configuration steps in your program instead of hiding some of it in MAX.
02-26-2009 01:06 PM
Gotcha.
Now suppose I want to create the installer that installs my task. What files do I have to include other than the exe so that it installs my tasks as well?
02-26-2009 01:13 PM
I think I found it it was under the Hardware configuration window to add the tasks
Thanks
02-26-2009 01:42 PM
Okay sorry to keep bothering you guys but when I try to create the necessary installer I get a prompt that states "Locate the "Vision Builder AI 3.6" distrubution labview needs a component of this distribution to finish creating the installer.
What is this and where is it located?
I have labview full development 8.6 4th quarter 08. I assume I can make these installers for other pcs.
Thanks
02-27-2009 02:40 PM
Hi Chris,
Are you using any Vision VIs or communicating with a camera in your development code? That could be possible reason why it is asking for the Vision Builder distribution.
Ipshita C.