LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error -200428

Solved!
Go to solution

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

0 Kudos
Message 1 of 11
(4,584 Views)
Solution
Accepted by topic author Chris S.
If you created a task in MAX instead of in the code, you need to export the hardware config from your pc and import it on the other pc. When you create an installer (and you should be creating an installer), there is an option to do this.
Message 2 of 11
(4,574 Views)

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.

Cory K
0 Kudos
Message 3 of 11
(4,565 Views)

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

0 Kudos
Message 4 of 11
(4,556 Views)

Chris S. wrote:

Is there any other way to install the tasks without creating an installer or having Measurement Explorer licensed?


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.
Cory K
0 Kudos
Message 5 of 11
(4,554 Views)

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.

Message Edited by Dennis Knutson on 02-26-2009 12:06 PM
0 Kudos
Message 6 of 11
(4,549 Views)

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? 

0 Kudos
Message 7 of 11
(4,547 Views)

I think I found it it was under the Hardware configuration window to add the tasks

 

Thanks

0 Kudos
Message 8 of 11
(4,535 Views)

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

0 Kudos
Message 9 of 11
(4,526 Views)

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.

National Instruments
Applications Engineer
0 Kudos
Message 10 of 11
(4,507 Views)