Sup guys,
Any idea on how to connect Omega cv7800 to viewlab I've downloaded the driver but couldn't figure out how it works as there isn't really proper explanations on Omega.
Sup guys,
Any idea on how to connect Omega cv7800 to viewlab I've downloaded the driver but couldn't figure out how it works as there isn't really proper explanations on Omega.
Hello everyone,
I am studying on creating a video from a number of images and I use IMAQ low level grab functions (IMAQ dx functions).I have not direct AVI functions because of my Labview version but I have AVI 2 functions . I can grab images and then I want to create a video on user interface by pressing a button . When I tried to create AVI video using AVI2 functions, I can obtain one frame in video. This is not actually desired. I want to create more than one frame in AVI 2 video.
Have you ever another suggestion to create video without using AVI2 functions?
Please ,take photo of your suggestion and share with me under this post.
Thank you so much ...
I'm trying to modify a program to search for the latest version of a file and open that one instead of the older one. The file naming scheme and file contents are beyond my control so I can't change them to make this easier unfortunately.
Basically, I get a list of file names like so:
file_34568_1_1.xml
file_34568.xml
file_35046_1_10.xml
file_35046_1_4.xml
file_35046.xml
etc...
Where the _#_# is the revision number and can range from _1_1 to _255_255 and each file can have multiple revisions.
I was trying to take in the file name string, strip _#_# for each file_# convert it to a float #.# and find the maximum. Then take that max #.# convert it back to _#_#, put that back into the file name and insert it into a new array of files to open that only contains the latest file versions of each file. The problem is, when I format the numbers back into strings (number to frac/exp string), I lose zeros:
1.1 ---> 1.1
1.10 ---> 1.1
3.250 ---> 3.25
If I define the precision, I get:
1.1 ---> 1.100
1.10 ---> 1.100
3.250 ---> 3.250
Which of course you see the problem. I can get the maximum revision just fine, I just want to know how to get my number to a string properly. I've tried also reading the text from the the numeric control but it does the same thing. Any suggestions?
(I'm maybe intermediate skill level in labview but i tend to overthink things, so if you see a simpler way to do this please share!) Thank you! Edit: LabVIEW 14
A year ago I wrote a VI that parsed an incoming ASCII serial stream and displayed that telemetry with some conversions. Worked great. I used VISA Read into Scan From String.
Now I'm attempting to modify that same VI to parse an incoming hex string (not ASCII). I have modified the format string input to be all hex characters, but it does not work. If I write a routine on the device that's sending the data to send it out as ASCII hex, then the VI works great. But for various reasons that's not ideal and I need it to be non-ASCII hex. Is there a way to get Scan from String to interpret straight hex? If not, is there another way to do it? I see Hexidecimal String to Number, but that does not appear to be able to break out the stream into multiple pieces of telemetry like Scan from String does.
Hello,
i worked on Watlow F4S and used LabView drivers to add to the code and use it for my application. now that watlow developed the F4T the code I'm using does not talk to the new F4T, so i downloaded the new driver but i get a errors on the .NET. i don't really understand the *.net. do i need to associate the file or link it some how? i men i try to link the DLL file but still get errors. sorry never use the new way of doing things with NET.
my link is broken and the errors are multiple to display in short it has to do with NET.Any help would be greatly appreciated.
I read that NI-VISA 18.0 is not compatible with LabVIEW 2014 Sp.1 (Education Edition). I just did a fresh install of LV 2014 on a rebuilt computer and ran all the upgrades and did not note what NI-VISA version was getting installed. How do I find the version of NI-VISA installed?
Thank you,
T. Jump
I am running LabVIEW 2013 SP1 for Mac. I am using the lower-level VI's to send an email because I need attachments, specifically 2 text files. If I try to send a file that is any larger than 54 bytes, then I get Error 363514, with the source:
LabVIEWSMTPClient.lvlibend.vi:2280001<APPEND>
<b>Complete call chain:</b>
LabVIEWSMTPClient.lvlibend.vi:2280001
SendEmail.vi
Why the random tiny size limit, and any way around it? Thanks.
I have a "Success!" indicator that I want to set TRUE if the external library call to the DLL was successful. I also want to set it FALSE when I run the VI, so that I'm sure that it's TRUE because the call succeeded, and not because the state is left over from the last run.
So I went to Create Invoke Node: Initialize to Default and placed it on the VI. When I run the VI, the indicator stays FALSE, even though the library call successfully returns values from the DLL (which also proves that the call succeeded). It's as if the Initialize happens _after_ the compare returns true, instead of before the compare runs.
I turned on Highlight Execution to debug it, and now it works properly. . This is 100% repeatable. If I turn off Highlight Execution if indicator stays FALSE after a successful run; if I turn on HE, it turns to TRUE after a successful run.
I thought the whole point of the Invoke Node: Initialize to Default was that it would occur first, no? Or is my understanding incorrect?
I think I found a workaround, which is to wire the Error Out from the Initialize to the Error In on the library call, which I think forces Init to run first. Is my interpretation correct? I can't prove this, because debugging it also avoids the problem. But this also is 100% repeatable.
Without that wire my indicator is always incorrectly FALSE after a run, and with that wire my indicator is always correctly TRUE after a run (unless I disconnect the hardware to force a failure, e.g. then it's correctly FALSE after a run). With that wire, if I run the VI again and again, I can see it briefly flash to FALSE before turning TRUE, e.g. the intended behavior. But why do I need this workaround, and/or why does this behavior change when HE is on? Thanks!
Dear all, I am using a Call Library function to call a DLL. However, I am getting an extremely weird error. My code is attached, its extremely simple.
I get error 1073807339 at the visa read. This program works on my laptop but not on my test computer. I have reinstalled NI488.2, visa, niserial, and nimax. My whole program works with gpib and usb daq equipment. I just cannot get this RS232 tachometer to work.
- checked the port settings and they match
- ran Nimax and it works.
- tried a usb-serial adapter. Works on my computer but not the target computer.
- had previously put this file on another computer and it worked.
- I added the *IDN? write option because the Nimax would give me something back if I used this. But my application works on my laptop without this.
Any help is appreciated.
Hey guys,
I have a strange problem. When I open a new or existing VI under the local computer target in a project, my LV freezes/stutters for 5-10 seconds and my CPU usage jumps to ~35%. This only happens with the local computer target. When opening or using VIs under an RT it works fine. The same project on different computers dont have this problem, only mine seems to have it.
I am using 2015 labview. My computer is identical (spec wise) to my colleagues whom has no issues at all. Do you know what could be causing this?
Thanks.
Hi:
(1) I try build project
firstlook U point xxx
(2) It failed build and message as
Broken VIs:
- First Look OCU GetAudioFreq.vi:Instance:0:
VI failed to compile.
External component or driver missing.
- First Look OCU GetAudioFreq.vi:Instance:1:
VI failed to compile.
External component or driver missing.
- First Look OCU Initialize Test CMD.vi:
VI failed to compile.
External component or driver missing.
- First Look Payload Port Test CMD.vi:Instance:3:
VI failed to compile.
External component or driver missing.
- First Look Payload Port Test CMD.vi:Instance:5:
VI failed to compile.
External component or driver missing.
- First Look Read AMT encoder flipper.vi:
Contains unwired or bad terminal
Invalid property
Invalid refnum class
Contains unwired or bad terminal
Invalid property
Invalid refnum class
You have connected two terminals of different types.
(3) But when I open these vi. they are fine.
(4) also, I saw missing resource file "NI845x.rc"
I have windows7 , labview 2013
check the NI compatible, NI845 2.12 is OK.
but I install 16 too.
still have this error when I open in fold 1.
but it is fine from fold 2
I try copy from fold 2 to fold 1 for this vi.
I used copy and replace .
but seem the error still exist
(5) I attached the project.
Thanks for help.
Hello,
I am using an NI USB 6001 to synchronize my output and acquisition but I am not sure this DAQ model can help me with what I need to do.
1. I need to generate a slow not periodic ramp (10-100s)
2. I need to send a trigger signal to the wave-function generator for initiating the application of the signal to my circuit. I need this trigger to be synchronized with the analog output (the ramp at point 1.) in such a way that it starts after a given time the ramp has reached the final value.
I have generated the ramp as an analog output of the NI USB 6001 but I am having troubles generating the trigger signal synchronized with the analog output. All the solutions I try they give me some kind of error and I am starting wondering if I can do it at all with NI USB 6001 or I need another model.
The errors I get are:
Error-200375 when I use DaQmx Export Signal to export the start trigger and when I use DAQmx Create channel (Co-Pulse Generator ticks) to generate a pulse it does not allow me to select the output terminal to which send the pulse.
Thanks in advance for the help!
Refer the data flow plan between the Main and Sub of a large machine code. I have just shown one Sub.VI. In reality there will be at least 20 odd sub.vi s. When the code starts it starts with the main and from the menu there, the user chooses the required sub.vi. The sub.vi loads and the main.vi then runs in the background ( FP is closed ). I would like to know what is the best option to pass data between the main and sub. Actually it is a bi directional flow as you can see from the image below. The options that we are used to is Globals / Functional Globals / Queue. Anyother method that is more efficient ? The data rates are not very high - maximum we touch 10millisecond. In this scheme the DAQMX tasks reside only with the MAIN.VI. It fetches the AI and DI signals , does some smoothing like moving Average and passes the arrays to SUB. The SUB in turn handles the inputs , takes some decisions and passes back the required AO and DO signals to the MAIN which then writes it to the relevant task.
Hi,
I am trying to find a way to recognize the rectangle (or square) pattern in my images, and I tried to do it using NI Vision Assistant. I find a function for shape recognition, but it does not see my rectangle which is quite big (enclosed picture ShapeDetection_Rectangles.png), and it does recognize elipses (enclosed picture ShapeDetection_Elipses.png), which are not even supposed to be there. Can someone help me to understand better the shape recognition function and propose maybe another way to find my squares?
Thank you very much for your help!
Best regards,
Jola
Hi,
I got the following error message when I run 'VT; Main.vi' en pressing the Calibrate button on the front panel.
VT; TRACK.vi error-1074396077 occurred at IMAQ Correct Calibrated Image
Possible reason(s):
Incompatible image type.
Typecasting the input 'Image Src' from U8 to RGB U32, which is the calibration template image reference, solves the problem. However, then thereafter I must immediately typecast the result of the 'IMAQ Correct Calibrated Image' function back to greyscale U8 as the input of 'IMAQ Find Pattern 4' needs U8 (only supported type).
Why does it not support grayscale (U8) input for 'Image Src' input node of the 'IMAQ Correct Calibrated Image' vi? In the help file it is stated under supported files:
U8, U16, RGB U32, I16, SGL, HSL U32.
So, it SHOULD not be needed to typecast the image...
Can anyone explain me this behavior?
Many thanks!
Hi,
I am trying to learn object-oriented programming. Hence as a part; I am trying to code a simple basic addition function. I created a class with numerical private data. Then I created a property definition folder and under the folder, I created a method VI which adds another numerical value to the existing private data of our class and updates it. But my code is showing 3 errors which I can't understand. I have attached a jpeg image which is a screenshot of the error. Can anyone please explain to me what have I done wrong and how can I correct it.
Hi all,
since years I use .net callbacks in Labview and till now I use the GC.Collect function to free the Callback VIs.
Now I use Labview 2018 and it seems that this doesn't work anymore ...
Does anyone else have this experience?
It also seems that in LV2018 the .net is changed more, because if use the Maun->View-> net assemblies in memory, I get a corrupted labview error ...
Thanks
Hans
Hello there,
I'm currently working in a project that the data acquired from the sensors should have been monitored in a test panel.
I got the front panel design and i also made this vi re enterant.
Now I need a solution to pass sensor data continuously to a dynamic vi? Is it possible to make it by using set.control.value node within a for loop, or is there any elegant and safer approach?
thank you