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

Error 1445 when getting control references

$
0
0

I'm trying to use the vi located here in my own vi written in LabVIEW 2013. I'm receiving error 1445 as reported here. Do I really need to use a fixed string to make this work? Is there a different method. Some of my controls are clusters and I do plan at some point to use a tab to seperate the user entered data from the test data. The reason I want the control references is to obtain the control names and values so I can apend them to an Excel report. 

 

Any help appreciated.


Pre-build VI for Installer Build Specification

$
0
0

EXE build specifications have the option of running a VI before and/or after the build process.  It does not appear that this is available for installer build specifiications.  Is there a way to acheive the same affect with the installer build specification other than doing it manually or having to do trigger the actual build process programmatically from a VI?

 

Currently using LabVIEW 2013 SP1 (possibly upgrading to 2015 SP1 eventually).

Error 50202

$
0
0

Hi!!, I have to Acquire 32 Channels of data with sampling rate 10k, I am new to labview, therefore I'm using DAQmx express and Write to Measurement File , the error is generated in the latter, There would be some way to resolve this error?. I have to sample for several days but the maximum  that lasts is 5 minutes, I have to come to think that is the amount of data, since  I am Taking data every 0.0001 seconds, and each file generated by Excel, is filled in about 6 seconds, not exceed the maximun 16 bit, somehow mange to store other data than using this express pallete?

Deleting unused plots from Chart

$
0
0

I'm trying to delete the 'Plot' from a chart.

The VI containing chart is in 'Edit Mode' and still I'm getting an error (1093).

 

Please find the attached library containing the VIs (version 2015)

Timed Loop Shutting Down Problem

$
0
0

Hi Everyone!

I'm working on a comlex project with more VI's included, and I have some problems with the shutting down.

I wanna control the shutdown from a central statemachine, here I obtain a notifier and send a bool cluster. The first cluster element is true if the shut down process can start, and then all VI's before actually shutting down write the corresponding cluster element to true, so in the end I can check if all VI's were shutted down correctly.
It goes fluently with every VI written by myself, the problem appeared when I tried to modify a third party VI. The VI is necessairy, It's the original WatchDog of a motor controller, so It's not possible not to use.

So there is a TimedLoop in this VI, and it seems the inside the TimedLoop the notifier isnt refreshing itself, so I have no chance to shut it down.


Can you give me any tips, what tool could I try to use to give a shutting down command from the state machine?

 

Thanks in advance!

VBAI read Data Matrix barcode suggest values vi

$
0
0

VBAI read data matrix barcode, there is a "suggest values" buttom click to automatically calculate all the parameters.

any one know how to find this vi at vision development module

Error 97 Getting all result of a Excel Spreadsheet using Activex

$
0
0

Hello! im trying to find all result of a string, in the second column on a excel document, i find this example searching in the forum, but im getting error 97 on invoke node in method FindNext, can anybody help me with this? Error 97.png

Is it possible to match multiple color patterns?

$
0
0

Is it possible to match multiple color patterns like the one shown in Match Multiple Geometric Patterns Example? I'm trying to create a VI similar to Match Multiple Geometric Patterns Example, but the only difference is I'm trying to learn multiple eye (iris) color templates then matching it to an eye.

 

Thank you!

 

Edited:

I'm trying to learn multiple templates then matching it to different image.


How can I find a smaller control

$
0
0

Hi everyone,

 I am a beginner. I was wondering if someone can help me with this simple question.

 Where can I find this control?1.jpg

I have been using this control(below) for a month, and it is so big that disturbs me always.

2.jpg

Thanks in advance!!!

imaq multiple overlays

$
0
0

Hi,

I am capturing spot images from a camera and displaying the result using Labview Imaq VIs. I have to capture 10 images and each time the spot moves on the image. I want to show the user the pattern that the spot moves so thought I'd use the Imaq Overlay function to show the previous dots. This is 1 VI that is looped 10 times using TestStand.

Unfortunately every time the VI shows the image the prvious spot disapears. Is there a way to show multiple spots (see attached picture)?

Chris

Attenuator hold error message

$
0
0

Hello everybody,

I am working on NI-PXIe 1075 measurement system. while I am doing my first test  to my code and the measurement system, I tried to plot the waveform using my  code and compare it with the scope and the result was always wrong. then I  noticed an error message regarding to the attenuator hold and I couldn't find  more about it or how to solve it. even I don't know if that error could effect  the behavior  of the receivers. I wish if you have any idea about this error  and how to solve it, I would be very appreciated. 
please see the attached picture. 

 

best regards

Thoalfukar

Labview pause button

$
0
0
Hello all
I hope I can get help in my issue
Now in a VI that iam generating using labview what is the minimum sample rate that can be used when in N samples mode of operation?
Also in the waveform chart that is generated with the time stamp on the x axis, the time stamp is in H:M: S format, assume the graph is flowing on an x axis range of 12 seconds. If the VI started running at time stamp 10:00:00am and the waveform started showing data from this time to time 10:05:00 and then the VI was paused "the acquisition will be paused at the 5 seconds mark" after that the VI was resumed after 1 minute will the waveform x axis show a new time stamp or will it resume from the 10:05:00 till the end of the range as normal i.e does the pause time affect the x axis time stamp

VST 2.0 and High Speed Serial links

$
0
0

Sorry if this is the wrong forum, but I've no idea where else to post this.....

 

I read on the flyer from the new VST 2.0 that is has 8x High speed serial links (12 Gb/s).  Presumably these are the GTX functionality of the Virtex-7 chip.  I do not see where these connections are physically available ont he device.... Can someone offer some insight on that?

Vehicle Accelerator Pedal serial pulse output value

$
0
0

I am trying to interpret the serial pulse train output of an Audi automotive accelerator pedal. I need to convert the pulse output into a linear DC voltage corresponding to a range of pedal motion from idle to Wide Open Throttle. A file depicting the pulse output from the pedal at idle and WOT utilizing LabVIEW is attached. Thank you in advance for any help!

Problem with cmw290

$
0
0

Hi,

I'm working on test GSM using Crio 9030 and cmw290.

my problem is that my VI work correctly with LabVIEW (0 error),

but when I call my VI in LabVIEW RT, I found a problem in "rscmwgs_configure_connection_circuit_switched", in the picture below there's the code error.


Problem with Embedded CAN in sbRIO

$
0
0

Hey guys, i have a problem developing a VI for a sbRIO 9627.As you can see in the picture below, I'm using the Embedded CAN palette and I'm trying to read two CAN network signals from a vehicle.Whats happens is, when using the filter frame, i can put only one identifier, for a example FC(252 in Hex), which corresponds to the vehicle DBC(database) package ID. When i put such an array of this control "identifier", it fails to read the signals and the program stops with an error.Anyone ever had this problem?I just want to read two signals of diferent identifiers.If someone didn't understand, i can explain further.

Digital input

$
0
0

I am trying to use a digital input from my DAQ Assistant to either stop a while loop or change the condition of a case structure.  I can't figure out how to do this because both of these want a boolean, but the output from my DAQ Assistant is a 1D array of boolean.

how to execute a specific number of loops and stop

$
0
0

Hi,

I now have a VI and I want to debug. There is a while loop in my VI. I am interested in what happens after a few iteration.

 

I want to do single stepping but not for a few loops at beginning. 

 

How can I do this?

 

Thanks in advance.

 

Chuan

Use custom .ini file in .NET build spec

$
0
0

Does anyone know why we can define a custom configuration file in an EXE but not in a .NET Interop Assembly?

Any way to use a custom ini file? So far the only way I can think of is use a post-build action, which seems overkill.

 

.NET vs EXE.png

Clear shift register before running VI again

$
0
0

I have this very simple VI that read voltage from a DAQ until I stop the loop, it then saves the data into a .wav file.

 

My problem is: everytime I stop the VI, I would expect the shift register to clear. But if I restart the VI it saves the old data from the shift register and the new data into the .wav file. I just want the new data when I run the .VI, without having to close the program everytime.

 

Please help.

Viewing all 66786 articles
Browse latest View live


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