Quantcast
Channel: LabVIEW topics
Viewing all 66860 articles
Browse latest View live

Start slow with image collection

$
0
0

I am using Labview Vision acuisition Vi in Vision Express plattee with IMAQ PCI-1428 to collect image. The camera I am using now is a line scan camera from UTC aerospace system. The plrobelm I am having now is if I set the image height to over 1000 (typically I need 2000), the starting time of the program is very slow, usually takes about 1.5-2mins. Once it started, it can run pretty well, won't lost many frames. I don't know where to find the problem (I am a starter with labview). Could someone with experience offer me some help? Thank you.

 

 


System error 206 Run-Time Error

$
0
0

Hello- I developed a test bed for an application I'm trying to make, which is launched by running a batch file, calling an executable. I was able to get it to successfully run ~100x until I got the system error 206. (This same thing happened twice, actually). Any reason why the run-time engine might not work every time? I've attached all relevant VI's and batch files. Thanks! Nick

RTD DaqmX Read

$
0
0

I am attempting to read data from a cDAQ 9217 module. I have successfuly used the test panel in NI Max to read data from the RTD sensor connected to the 9217, but having difficulty in programming it correctly in LabView using DAQmX.

 

This is the error I am receiving. The settings on the create channel VI are the same as those in the NIMax test panel.

 

I have been able to to program three other cDAQ modules successfuly, but I am doing something wrong on this one.

Suggestions?

 

RTD.png

LabView Drivers for HP 35665A Dynamic Signal Analyser

$
0
0

Hi all

 

I am trying to obtain LabView plug and play drivers for an HP 35665 Dynamic Signal Analyser for use with a GPIB interface for a project I'm working on. Searching the support site seems to yield nothing, have they been discontinued due to the age of the system?

 

Regards

 

Will

TC01 Timing

$
0
0

Hello,

Just installed trial version of LV home edition. I used a CD I had from 2015 to load the NI Device Drivers, every thing looked good at install. I connected a brand new USB-TC01 thermo couple interface (arrived today) Started LV and droped a DAQassist on the BD for a quick test, configured the parameters and tried to save the configuration. I get the error  "Firmware for the device is too new." " Downgrade the firmware for this device."  OK downgrade it to what? and how?  This is on a win 7 laptop.

 

Thanks for any help!

 

Alan

Multiple I/O Actions Labview DAQmx

$
0
0

Hi everyone,

 

I was tasked to modify the attached program for working simultaneously with 2 additional channels. The original has one output channel for excitation and one for measurement, which is later filtered and saved.

 

I have duplicated the design and made arrays of channels to modify the create task vi's to use 2 inputs and 2 outputs. Measurements should always be synchronized and output excitation has to be different for both channels (so I cannot use a single excitation loop for 2 channels, I believe). Please let me know if I am on the right track. I keep getting the error of reserved resource on the start task.vi for some reason, even though I am not duplicating those.

 

I think my efforts have been somehow brute force, since there is probably a way to simplify all of these, but I am in a time constraint so I needed to get something functional before focusing on improving the overall design.

 

The original program is DNA Detector v14.3, while the new one is DNA Detector Experimenting. Another dependent vi is also attached.

 

Thank you very much for your help!

 

Regards,

 

Pedro Ch.

Values don't refresh

$
0
0

Hi everyone, 

 

I have problem concerning refreshing data... I'd like my "Frequency (GHz)" ring menu changes its content each time the ring menu "Clock Select (MHz)" changes its value. You will see those ring menus in the "HMC6300" joined VI, under the yellow text. 

 

The current behaviour is that "Frequency (GHz)" ring menu changes its value only when i start a new execution of the VI...

 

Thanks for your help

Strange date/time when using Write to Measurement File

$
0
0

I'm trying to do a simple save of thermocouple data to Excel using the Write to Measurement File VI.

It saves the time correctly for the first save but then does this:

 

Capture.PNG


How to update cluster varible after indexing through a loop?

$
0
0

I need help updating my cluster varible after indexing it through a for loop.

 

I have multiple cluster variables which I bundle into an array. I index the array in a for loop and check to see if for each cluster variable needs to be updated. If it is updated, I multiply the data value by 10. I want to update the data of that cluster to show the new value (old data * 10).

 

How can I do this?

 

UpdateClusterDataInLoopIssue.png

FOSCAM cameras and Labview

$
0
0

Hi everyone!

I´m trying to use a pair of FOSCAM cameras with LabViEW, but I haven´t been able to connect this cameras with the software. Do you have any idea on how to connect them with LabVIEW and how to control them? It would be great if you could help me.

Thanks

Triggering Hysteresis to calculate Average

$
0
0

I'm trying to create a file that will calculate the past 1 second of data from channel two (current) based on the input of channel 1 (voltage). The voltage will be at a steady state (approximately 2 V) and drop to 0 which should trigger recording the average. I'm having trouble getting the trigger to work effectively. It should record the last second before the voltage drops to 0 and average that but it currently doesn't record anything.

 

VI file attached for reference, there are a couple different attempts at this so it's still a little messy.

Options for file transfer to network share

$
0
0

As part of an automated software update fearture I'm writing for our manufacting test code, I'm exploring ways to transfer files between test stations and a Windows network share.

 

My current approach is to programatically map a drive to the network share, and then there's a 1-to-1 mapping of file paths for the file copies, byt changing the drive letters of the paths. This leaves a mapped drive open on each tester, which is a potential security risk, and although this can be closed at the end of the operation, I thought I should explore other options.

 

Ftp and Web DAV (which I have no experience with) may be options, but seem to require additional setup steps. What other options should I explore?

Tetris in LabView problem with move blocks

$
0
0

Hello.

I try to make Tetris in LabView.  I have problem with stop blocks on the last field and move blocks left and right.

Does anyone have an idea how to solve it?

Triggering an event case only once after the Timeout event

$
0
0

Hi all,

I'm trying to find a way to trigger a specific code only once after the Time out event in the event structure. I have many events that are handled by that event structure, otherwise it would have been a lot easier. I'm aware of the producer and consumer structure but it's tedious and I think there is a better way in such situation? any help is appreciated, thanks.

 

 

 

cRIO-9024 Gateway Address - How to change this programmatically without rebooting?

$
0
0

I would like my cRIO-9024 (LabVIEW 2014) application to be able to change the gateway address of the controller and then implement the change without having to reboot the controller.

 

Currently, the only method I can see to programmatically change the gateway address is to edit the ni-rt.ini file, and then reboot the controller. I would like to avoid having to reboot the controller. Is there a way to programmatically stop and start the ethernet service, or something equivalent?


Using PXIe-6345 to read frequency

$
0
0

I have a very simple setup where I have a PXIe-6345 that I'm trying to use to read frequency... more specifically, I'm trying to read the tachometer of a 4-wire computer fan (around 50-150Hz depending on speed).  I'm having a hard time finding any vi examples or which pin to connect to on the terminal block.  Any ideas?  

Building a array form Signal from DAQ

$
0
0

Hello all

I have a problem with building an array from the DAQ signal. The signal itself is an oscillating signal with fast frequency. The frequency of data can be changed in broad range so defining the exact frequency is not necessary(it's dependent on mechanical movement). I have used DAQ assistance VI to control the sampling rate and sample per channel and used output signal to build an array to make waveform chart plot. The reason why building an array is to find peak and valley of an oscillating signal. However, when I build the array from DAQ assistance VI data, I get 'chunk' of data plot, mean there is too many data points in single x(time) value [Plot LASER in image]. So, I have tried to pull out single data column from the 'chunk' data, but if I use this code, oscillation frequency does not measure properly.

I am assuming that buffer from the computer is too slow, or using array building is not a good coding to acquisition these data.

what is the problem with this?

any new idea to plot this?

 

thx

p.s. sorry for the Korean language in img

 

Building a array form Signal from DAQ

$
0
0

Hello all

I have a problem with building an array from the DAQ signal. The signal itself is an oscillating signal with fast frequency. The frequency of data can be changed in broad range so defining the exact frequency is not necessary(it's dependent on mechanical movement). I have used DAQ assistance VI to control the sampling rate and sample per channel and used output signal to build an array to make waveform chart plot. The reason why building an array is to find peak and valley of an oscillating signal. However, when I build the array from DAQ assistance VI data, I get 'chunk' of data plot, mean there is too many data points in single x(time) value [Plot LASER in image]. So, I have tried to pull out single data column from the 'chunk' data, but if I use this code, oscillation frequency does not measure properly.

I am assuming that buffer from the computer is too slow, or using array building is not a good coding to acquisition these data.

what is the problem with this?

any new idea to plot this?

 

thx

p.s. sorry for the Korean language in img

 

Labview MS Powerpoint ActiveX control

$
0
0

Hello, 

I am trying to take a set of jpegs from my computer and load them into a Powerpoint presentation, one on each slide. There is some documentation on how to do this with ActiveX, but I can't seem to pull up Powerpoint as an ActiveX option in the Types. I'm using Labview 2016 and Office 2016. Are they compatible for this? Do they need to be installed in some order? Thanks very much.

Save as JSON in Labview

$
0
0

Hi Developers,

 

       Problem Statement : I have developed code to open an existing JSON file using LabVIEW and also update the key elements (single value) depending upon the user needs.

       Now, I want to over-write the updated JSON file in the same location as before. 

      I am unable to convert the JSON Object variant back to the string by using the flatten from JSON, so that I can over-write the corresponding JSON file.

   

       Attachment : 1) JSON file 2) VI to open and update the JSON (SubVI)

3) test.vi (main VI)

 

Viewing all 66860 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>