LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array datatype

Hi all,
          I would like to know if there is some module in Labview 8.5 to break a 1D array  into its elements. I found that the opposite(build array)   is module is available but not what I want.

Thanks,
JPrakash
0 Kudos
Message 1 of 10
(3,766 Views)
Did you look at 'index array' function??
 
See attached vi
 
Hope it helps
 
Regards,
Dev
0 Kudos
Message 2 of 10
(3,765 Views)
Hi,
    Thanks a lot for the valuable information. It helped a lot. I developed the application with the Labview 8.5 Prof Dev System on my computer.  Now I would like to know what all files and drivers I need to install or copy to run the application on a different system. Please reply ASAP.

Thanks,

JPrakash 
0 Kudos
Message 3 of 10
(3,734 Views)
Hi,
    Thanks a lot for the valuable information. It helped a lot. I developed the application with the Labview 8.5 Prof Dev System on my computer.  Now I would like to know what all files and drivers I need to install or copy to run the application on a different system. Please reply ASAP.

Thanks,

JPrakash 
0 Kudos
Message 4 of 10
(3,733 Views)

Since you have the pro version, you have the app builder.Open the on-line help and search for the topic 'stand-alone applications' and you will find a lot of sub-topics under that including an example. As far as what drivers you need, you will need the drivers for all of the hardware that your application is using and the LabVIEW run-time engine as a minimum. Since you haven;t provided any details at all on your application, it's impossible to say what other files you might need. I would recomend you try building an app and an installer per the help. If you run into any issues, just post back with the details.

p.s. You should open a new thread when you ask a new, unrelated question.

Message 5 of 10
(3,728 Views)
        Thanks a lot sir for the instant response. I am using USB 6221 with a self built voltage to current converter and a constant current source both wired on a small circuit board and drawing minimum power from the 6221 power supply terminals itself.
        My application is very simple. I am using AO1 to output a positive ramp (of 0-10V) to a test coil through the VtoI converter. The voltage applied from a constant current source across the terminals of a reed switch placed inside the test coil is being read through AI0 of the 6221. When the switch closes, I stop the ramp and display the corresponding coil voltage at that point. I start the execution with a start switch connected through P2.7. I have compiled using build option and I have the application.exe ready.
       I have used a downloaded version of NI DAQmx 8.6.1 in my system. Now when I want to test my program on a different system without Labview installation, I want to know which things I need to install on that system. I hope I have made my explanation clear this time !  
       I would be grateful if your next reply too comes as a lightning as the last one.

Thanks a lot in advance,

JPrakash

0 Kudos
Message 6 of 10
(3,718 Views)
        Thanks a lot sir for the instant response. I am using USB 6221 with a self built voltage to current converter and a constant current source both wired on a small circuit board and drawing minimum power from the 6221 power supply terminals itself.
        My application is very simple. I am using AO1 to output a positive ramp (of 0-10V) to a test coil through the VtoI converter. The voltage applied from a constant current source across the terminals of a reed switch placed inside the test coil is being read through AI0 of the 6221. When the switch closes, I stop the ramp and display the corresponding coil voltage at that point. I start the execution with a start switch connected through P2.7. I have compiled using build option and I have the application.exe ready.
       I have used a downloaded version of NI DAQmx 8.6.1 in my system. Now when I want to test my program on a different system without Labview installation, I want to know which things I need to install on that system. I hope I have made my explanation clear this time !  
       I am herewith attaching the VI for your reference.
        I would be grateful if your next reply too comes as a lightning as the last one.

Thanks a lot in advance,

JPrakash

0 Kudos
Message 7 of 10
(3,716 Views)
        Thanks a lot sir for the instant response. I am using USB 6221 with a self built voltage to current converter and a constant current source both wired on a small circuit board and drawing minimum power from the 6221 power supply terminals itself.
        My application is very simple. I am using AO1 to output a positive ramp (of 0-10V) to a test coil through the VtoI converter. The voltage applied from a constant current source across the terminals of a reed switch placed inside the test coil is being read through AI0 of the 6221. When the switch closes, I stop the ramp and display the corresponding coil voltage at that point. I start the execution with a start switch connected through P2.7. I have compiled using build option and I have the application.exe ready.
       I have used a downloaded version of NI DAQmx 8.6.1 in my system. Now when I want to test my program on a different system without Labview installation, I want to know which things I need to install on that system. I hope I have made my explanation clear this time !  
       I am herewith attaching the VI for your reference. I'm sorry I'm not able to attach all the three more necessary subVIs at a time due to the maximum limit of 3 attachments.
        I would be grateful if your next reply too comes as a lightning as the last one.

Thanks a lot in advance,

JPrakash

Download All
0 Kudos
Message 8 of 10
(3,714 Views)

Hi Prakash,

You dont need to worry too much regarding the inclusion of the DLLs relative to Ur program, because LV itself searches & analyses them internally when you build your standalone application.

But, since you use other NI hardware, those Device Drivers need to be installed in that PC, where there is/ll be no LV present. Also, for the EXE to run there, the LV run-time engine of the appropriate version, exactly the same version with which the code was developed, needs to be there in that PC.

Look for these things, you ll definitely succeed & ll be up n running your EXE. Smiley Happy

Happy trial ahead! Smiley Very Happy

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 9 of 10
(3,706 Views)

Prakash,

I forgot to tell you that the DLLs will be included [binded] automatically if they re of LV's own, or they ll be included in a seperate folder called "data" if they re of third-party's...

Always keep this data folder at the same location as the EXE. It ll be trouble-free n easy.

The LV's DLLs ll be binded internally into the application because they re all taken care by the LV run-time engine, so you wont see any specific explicit inclusion of them in any folder, unless n until there is a problem regarding the Device Driver installation or teh version of LV used to develop n deploy the EXE.

I hop thhis information is enough to get you started to build your EXE.

Lets see how it goes further...

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 10 of 10
(3,704 Views)