No video at startup of Labview program gives me error. How do I automatically reacquire periodically?
I have a PCI 1411 running Labview NI-IMAQ 3.0. I am hooked to a military infrared device. I need to be able to power on the camera with a Labview program. Therefore, I have no video at startup and need to be able to acquire once I start. Now, if no video is running when I start, I never see video and I get an acquisition error. What should I do? Thanks!
This depends on how you plan to power on the camera. Are going to switch the AC power to the camera, toggle a digital enable line, or send a serial command? Without knowing how this camera works it's difficult to say how to turn it on, but more than likely LabVIEW (with the right hardware) will acommodate your camera.
Once you have the camera powered, you can proceed with the acquisition as normal. If there's no way to know whether the camera is powered, you could just call a snap command in a loop periodically and exit when you no longer see an error or you get tired of waiting.
Cheers,
Brent
Similar Messages
-
FLBP program gives an Error message
Hi,
I am using Lock box User Exit EXIT_RFEBLB20_001 and EXIT_RFEBLB20_002
to modify T_AVIP and create some entries in T_AVIR based on some conditions.
Now when we run through Dev Client 800 which is for Testing it works fine.
But when we run through Dev Client 900 which is for Integration Testing it gives me messages
Accounts receivable posting Error: (FDM_GENERAL 003) Maximum of 99 referenced objects was exeeded.
What would be the reason for the error in client 900????
Any suggestions or comments would be helpful
Thank you very much.
ChaitanyaNobody can tell you anything without proper system info or other technical details. Inevitable Muse's licensing is tied to CC, so check that as a start:
Sign in, activation, or connection errors | CS5.5 and later
Mylenium -
I am trying to make a Shell call to Firefox in the C:\Program Files (x86)\Mozilla FireFox\ directory and LabView shell call gives an errors. I can go to the DOS shell and make the call fine, but Labview Shell gives several errors. Anyone know how to get around the directory issue with Program Files (x86) directory name having the space in it and the (x86) that DOS does not seem to like?
Solved!
Go to Solution.You need to use quotes.
-
This line give me error Map fillParams = new HashMap(); for calling ireport
hi master
sir i flow this link step by step
http://developers.sun.com/jscreator/learning/tutorials/2/reports.html
when i us this step
Double-click the View Report button to display the Java source for the viewReportBtn_action method.
Add the following code shown in bold to the body of the viewReportBtn_action method.
Code Sample 5: viewReportBtn_action Method
public String viewReportBtn_action() {
// Free up the rowset resources
tripDataProvider.close();
then this line give me error
Map fillParams = new HashMap();
in out put windows give me this error
C:\Documents and Settings\Administrator\My Documents\Creator\Projects\TravelReport\src\travelreport\Page1.java:383: cannot find symbol
symbol : class Map
location: class travelreport.Page1
Map fillParams = new HashMap();
please give me error how solve this error
thank's
aamirComplete step 17 (2 steps after you paste the code)
17. Right-click in the source and choose Fix Imports from the pop-up menu.
I suggest that you complete the following 2 tutorials before you try to do the advanced ones.
http://developers.sun.com/jscreator/learning/tutorials/2/jscintro.html
http://developers.sun.com/jscreator/learning/tutorials/2/helloweb.html -
HI All
I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
I used IMAQ AVI Read Frame VI
for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisitionHi abdelhady,
I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
Thank you,
Emily C
Applications Engineer
National Instruments -
How can i buil labview program to get the area and curvatures at top with video analyis?
labview program building...
Solved!
Go to Solution.Please stick to your original thread: http://forums.ni.com/t5/LabVIEW/how-can-i-get-the-area-of-a-ball-with-video-analyis/td-p/1630034
Using LabVIEW: 7.1.1, 8.5.1 & 2013 -
INTRODUCING NEW TOOLKIT: Manage, Protect, Track and Distribute LabVIEW programs
Dear LabVIEW Developer,
We are really pleased to introduce today our new toolkit: BLT for LabVIEW. We worked hard to provide a powerful management software that will give you the tools to protect and distribute your LabVIEW programs, for internal or commercial use.
As a LabVIEW developer, your feedback is really important to us since our toolkit is mainly designed for your needs. That's why we would like to offer you a free version with all the features included, so you can test BLT and see how it improves your daily productivity.
Please refer to www.BLTforLabVIEW.com (http://bltforlabview.com) or watch the video for more information.
Click here for more informations
about our new LabVIEW toolkit
We really appreciate your collaboration, and hope that you will find a lot of value in this new LabVIEW Toolkit.
Matthias Baudot
Principal Software Architect
STUDIO BODs INC.
[email protected]Congrats to Michael:
SQL BI and Power BI Technical Guru - March 2014
Michael Amadi
A Practical Example of How to Apply Power Query Data
Transformations on Structured and Unstructured Datasets
NN: "This is a terrific tutorial on Power Pivot with very helpful images. Great article"
Ed Price: "This is a fantastic combination of Power Query and Power Pivot... a valuable contribution!"
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
When I run my VI it works fine. However, when I create it into an executable and try to run the exe, it gives me an error, "Failed to process adress of Labview Program. Occurences will not work." Why?
I am using Labview 7.0. I have attached a screen shot and the code. thanks for checking it out and let me know if you need any more info.
Attachments:
Labview_Error.bmp 2305 KB
Main.vi 230 KB
PAIN_Generator.exe 2186 KB -
Labview program to unistall and install new/updated software programatically
Hi,
I want to create a labview program to install and uninstall teststand deployment programatically.
Query : I have teststand deployment made and ready,wanted to deploy in 5 test PC's and for very first time it did work good. Now when I made updates in the modules, i made a new deployment with version increment. Now this time, i first uninstalled the previous deployment and reinstalled a new one. This time it took time to uninstall and install all 5 test PC's.
I wanted to automate this process through labview. I wanted to create a labview exe or installer which continusouly running on the client PC's looking for a perticular folder for new/updated deployment. If it finds, uninstall the older version if present and install a newer version of deployment.
I wanted to know what things i need to consider while making this type of labview program which uninstalls the older version and installs a newer one? I think i need to even reboot after uninstallation, before installing newer deployment. How make the program running even after reboot and continue the process?I have the MS-6968 device and i want to use driver 1.4.x or 3.0.x. I found the driver 1.4.2.10 but i cannot find any WIDCOMMSecurity code.
So, can anyone give me a link for BTWPatcher.exe???
It cannot be found here (Jon's Bluetooth ) anymore.
Thanks -
CPU usage is 98% when running my exe labview program
Hi
I have made an executable and installer for my labview program. When I install and run, the program uses a lot of cpu - almost 100%, even when the program is not computing. I recently changed over to LVIEW 8.2 from LVIEW 7.1. I had none of these issues with 7.1.
Programatically, I use a state machine to continuously execute the program. I also use a couple of while loops as slaves to plot the results processed in the main loop. In all while loops I have a 'Wait' until next ms' vi to prevent the program using all the cpu, but it doesnt seem to be helping in LVIEW 8.2. This is somewhat strange.
Can someone suggest what may be happening? and are there any methods that I can use to reduce cpu usage of my program?
Cheers
RVRIt will be impossible to really troubleshoot this without a lot of additional infomation.
Is the CPU usage only high in the built application, or is it also high if you run the same program in the 8.2 development environment?
Was the 7.1 program exactly the same, or did you make any modifications since?
Are you running 8.20 or did you upgrade to 8.2.1?
What does the program actually do? Does it interact with DAQ hardware? File I/O?
What does the program do when it is "computing"? Is the CPU use even higher then?
Is there also a wait statement in the main while loop?
What is your OS (windows, linux, mac, etc.)
Is your computer reasonable for the task. Enough RAM, etc.
How do the various loops communicate with each other? (queues, local-, global-, shared- variables, etc.)
How much data is exchanged between the loops? At what rate?
Do you use fixed or variable size arrays?
Can you give us a more detailed overview of the code?
How is the memory usage?
have you done any profiling?
LabVIEW Champion . Do more with less code and in less time . -
Should the LabVIEW program be reduced to the speed of data collection?
I'm using a LabVIEW program created by Ocean Optics for a
Spectrophotometer probe with is run through the USB port. The problem
occurs when we attempt to collect data over a time frame of one
second. For some reason the whole LabVIEW program will begin to
operate at the speed of data collection when we try to run the VI with
an integration time of +500 ms. If anyone would be able to offer any
kind of explanation or theory it would be greatly appreciated. Thanks
for any and all help.
DanielDear Daniel,
since LV has no support for USB this must be done through a DLL or Active-X control. A call to a DLL or Active-X method is a synchronous node in LV, that means LV will go on executing when the call completes.
My theory of your problem is that the program makes such a call and it would take that time to collect the data in the DLL or Active-X control. If you have only one loop in the program and do not use dynamic loaded VIs through the VI server than the program seems to hang on each of this calls.
I hope this helps
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
Embedded Labview exe in a LabView program
Is it possible to integrate an exisiting LabView *.exe file in another LabView vi or LabView project?
The existing LabView *.exe does output some measurement data on the front panel, but I would need this data written e.g. to an Excel sheet. So I thought it must be possible to embed the LabView *.exe file into another LabView vi, that reads data from the *.exe file and writes the data into a data file.
I don't have access to the original LabView program, before it was converted to an *.exe file and I don't know the settings used to built the *.exe.
Toodles,
OptimikeWithout testing I'm not sure if it is working.
Maybe you should be able to open an application reference to the application. You should add the entries for VI Server in the configuration file to listen on a specific port. In LV 8.6.1 you can open the application with this port. With this reference you can try to open a VI reference for the VI from which you want the data. Use Get CTRL Value to read the data from the control.
The application must be running before you can do this. For the final solution you must make any error handling on errors by the Open Application Reference primitive.
The thing I'm not sure about is if this will work across different versions of LV.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
How to link third party software with labview program ?
I have designed a labview
program to analyse and make
graph and save the datas
from the photon counter using
ni USB DAQ 6008. And the
photon counter is controlled
by the third party software with
itself. both programs are
executing successfully. But
my task is run both the
program at the same time. i.e.
link the third party software
with my labview program.
How to i do this?Your question is too vague since you give no information as to this third party application. Is it an application you wrote? Is it an application that you cannot change? Does it have a programming interface? Can you eliminate this third-party application and control the photon counter yourself? Have you tried to do a search, as this question has come up before many times. For example:
http://forums.ni.com/t5/LabVIEW/how-do-I-use-labview-to-control-other-programs/m-p/424765
http://forums.ni.com/t5/LabVIEW/How-to-operate-another-application-s-GUI-from-LV/m-p/668088 -
Using Photoshop CS6 and after printing approx. 10 cards on an Epson R3000 printer the program gives me a dialog box saying "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents." Even after closing and reopening the program, the print command is greyed out so I cannot select any printer. This also happens with a Brother laser printer. Both printers will produce a test page out side of the Adobe product. Help!
I cannot get any help either. I get the message "There was an error opening your printer. Printing functions will not be available until you have selected a printer and reopened any documents." I have reinstalled all drivers, powered off/on all printers (2 of them - a Brother HL - 4040cn and an Epson Stylus Pro 7890 - which all worked fine until this morning). There appears to be no path to a solution. I have read all the forums and tried about 20 different suggestions all to no avail. Reboots, changing cables, reinstalling printers and drivers and Photoshop CS6 - ALL TO NO AVAIL. On a macbook pro retina with 10.10.3. This issue is out there and some get solutions - but not all - that's my crowd...the not all crowd. I have yet to be able to print from CS6 any more. This is a show stopper and my patience is wearing thin. And I'm tired of stupid questions like "is your printer powered on?" give me a break. This appears to be an adobe photoshop cs6 problem - as I can print from every other application. Anyone have any ideas? Adobe should have something?... Adobe system info below:
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
Operating System: Mac OS 10.10.3
System architecture: Intel CPU Family:6, Model:58, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 2300 MHz
Built-in memory: 8192 MB
Free memory: 4665 MB
Memory available to Photoshop: 7059 MB
Memory used by Photoshop: 70 %
Image tile size: 1024K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Version: 2.1 NVIDIA-10.2.7 310.41.25f01
OpenCL Version:
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: NVIDIA GeForce GT 650M OpenGL Engine
Display: 2
Display Depth:= 32
Display Bounds:= top: 1072, left: 140, bottom: 1950, right: 1580
Video Renderer ID: 16918311
Video Card Memory: 1024 MB
Video Rect Texture Size: 16384
OpenGL Version: 2.1 NVIDIA-10.2.7 310.41.25f01
OpenCL Version: 1.2 (Feb 27 2015 01:29:10)
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: NVIDIA GeForce GT 650M OpenGL Engine
Display: 1
Main Display
Display Depth:= 32
Display Bounds:= top: 0, left: 0, bottom: 1050, right: 1680
Video Renderer ID: 16918311
Video Card Memory: 1024 MB
Video Rect Texture Size: 16384
Serial number: 92629107631240972642
Application folder: KerrysHD:Applications:Adobe Photoshop CS6:
Photoshop scratch has async I/O enabled
Scratch volume(s):
KerrysHD, 232.6G, 19.7G free
Required Plug-ins folder: KerrysHD:Applications:Adobe Photoshop CS6:Adobe Photoshop CS6.app:Contents:Required:
Primary Plug-ins folder: KerrysHD:Applications:Adobe Photoshop CS6:Plug-ins:
Additional Plug-ins folder: not set
Installed components:
adbeape.framework adbeape 3.3.8.19346 66.1025012
AdbeScriptUIFlex.framework AdbeScriptUIFlex 6.2.29.18602 66.490082
adobe_caps.framework adobe_caps 6.0.29.0 1.276181
AdobeACE.framework AdobeACE 2.19.18.19243 66.492997
AdobeAGM.framework AdobeAGM 4.26.17.19243 66.492997
AdobeAXE8SharedExpat.framework AdobeAXE8SharedExpat 3.7.101.18636 66.26830
AdobeAXEDOMCore.framework AdobeAXEDOMCore 3.7.101.18636 66.26830
AdobeBIB.framework AdobeBIB 1.2.02.19243 66.492997
AdobeBIBUtils.framework AdobeBIBUtils 1.1.01 66.492997
AdobeCoolType.framework AdobeCoolType 5.10.31.19243 66.492997
AdobeCrashReporter.framework.framework AdobeCrashReporter 6.0.20120201
AdobeExtendScript.framework AdobeExtendScript 4.2.12.18602 66.490082
AdobeJP2K.framework AdobeJP2K 2.0.0.18562 66.236923
AdobeLinguistic.framework 17206
AdobeMPS.framework AdobeMPS 5.8.0.19463 66.495174
AdobeOwl.framework AdobeOwl 4.0.93 66.496052
AdobePDFL.framework AdobePDFL 10.0.1.18562 66.419471
AdobePDFSettings.framework AdobePDFSettings 1.4
AdobePIP.framework AdobePIP 6.0.0.1654
AdobeScCore.framework AdobeScCore 4.2.12.18602 66.490082
AdobeUpdater.framework AdobeUpdater 6.0.0.1452 "52.338651"
AdobeXMP.framework AdobeXMPCore 66.145661 66.145661
AdobeXMPFiles.framework AdobeXMPFiles 66.145661 66.145661
AdobeXMPScript.framework AdobeXMPScript 66.145661 66.145661
ahclient.framework ahclient 1.7.0.56
aif_core.framework AdobeAIF 3.0.00 62.490293
aif_ocl.framework AdobeAIF 3.0.00 62.490293
aif_ogl.framework AdobeAIF 3.0.00 62.490293
AlignmentLib.framework xcode 1.0.0.1
amtlib.framework amtlib 6.0.0.75
boost_date_time.framework boost_date_time 6.0.0.0
boost_signals.framework boost_signals 6.0.0.0
boost_system.framework boost_system 6.0.0.0
boost_threads.framework boost_threads 6.0.0.0
Cg.framework NVIDIA Cg
CIT.framework CIT 2.0.5.19287 145486
data_flow.framework AdobeAIF 3.0.00 62.490293
dvaaudiodevice.framework dvaaudiodevice 6.0.0.0
dvacore.framework dvacore 6.0.0.0
dvamarshal.framework dvamarshal 6.0.0.0
dvamediatypes.framework dvamediatypes 6.0.0.0
dvaplayer.framework dvaplayer 6.0.0.0
dvatransport.framework dvatransport 6.0.0.0
dvaunittesting.framework dvaunittesting 6.0.0.0
dynamiclink.framework dynamiclink 6.0.0.0
FileInfo.framework FileInfo 66.145433 66.145433
filter_graph.framework AdobeAIF 3.0.00 62.490293
hydra_filters.framework AdobeAIF 3.0.00 62.490293
ICUConverter.framework ICUConverter 3.61 "gtlib_3.0" "." "16615"
ICUData.framework ICUData 3.61 "gtlib_3.0" "." "16615"
image_compiler.framework AdobeAIF 3.0.00 62.490293
image_flow.framework AdobeAIF 3.0.00 62.490293
image_runtime.framework AdobeAIF 3.0.00 62.490293
LogSession.framework LogSession 2.1.2.1652
mediacoreif.framework mediacoreif 6.0.0.0
PlugPlug.framework PlugPlug 3.0.0.383
UpdaterNotifications.framework UpdaterNotifications 6.0.0.24 "6.0.0.24"
wrservices.framework
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONE -
Inquiry of APT software and LabView Programming
Hi,
I am new to LabView Programming. I am currently using LabView 8.6. As you can see in the attached files, I've written some codes to synchronize X and Y axes movement of two T-Cube DC Servo Controllers using LabView programming. I am now trying to plot some data of Move_Absolute_Position on XY Graph in LabView. After I've made some movement of motor positions, the graph only plot for the current position and erase the previous data. Is there a way to plot all data on the graph? If you could give some examples, I would appreciate it.
Best Regards,
Jack
Solved!
Go to Solution.
Attachments:
APT_Test_3.vi 27 KBJackBrown wrote:
...As you can see in the attached files,...
There are no attached files.
To plot an xy history, easiest would be to use the "build xy graph express VI" and configure it not to erase data between calls. You get that express VI if you place the xy graph found in the express palette on the front panel.
LabVIEW Champion . Do more with less code and in less time .
Maybe you are looking for
-
Downloading the file from URL directly
Hi, I need to download the documents directly that are stored in table. I have table: FileID, File_content 1 fruits.pdf 2 vegetables.docx something like this. I need to sent an URL to the users so that they can directly access the file with the filei
-
I'm trying to get my name to appear under devices in itunes for my iphone. It got deleted, and I can't get it back on.
-
Time Machine, Time Capsule and File Vault Profile Not Backing-up
Hi, After the last update to 10.5.6 time machine is not backing up my filevaulted profile.. I know there is more people out there with the same problem and was wondering if anyone has found a fix?... I'm doing a clean backup with a brand new time cap
-
Firefox 7.0.1 Adobe Reader 9, Fedora Linux, opening the first .pdf link works, after that .pdfs open with a black screen. It is not a time out issue, the black screen will be there until closed. This even happens when opening the same link that worke
-
how do I get the four items from the bottom of my screen, safari,keypad,music, and mail to return?