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

DAQmx 19.0

$
0
0

Hi, 

 

I'm trying to figure out why I can't find any references to DAQmx Assistant related items in LabVIEW NXG. NI Package Manager shows that I have NI-DAQmx installed. 

 

DAQExpress claims that DAQmx 19 is not installed; when the Package Manager opens it then claims "No operation to be performed". 

 

NI Max recognizes that there is a NI-cDAQ-9185 connected, but there is no software references to DAQ Assistant or DAQ Express.

 

Thoughts?


Labview Crash reporter

$
0
0

I'm using Labview 2018 32-bit and I get a Crash with this exception:

 

Exception: Access violation (0xC0000005) at EIP=0x0306F554

 

it happens everytime my software call an Excel specific Vi from report generation Toolkit, I have office 2016 32 bit that seems running fine. No problem with other Vi that belongs to Word or HTML. Is there anyone experiencing the same issue?

 

 

Rapid subpanel execution

$
0
0

Hello experts,

 

I am working on a application which will allow the user to see one of 50 or so data-collection sub-VIs via a subpanel, and execute said VI peridocally (as rapidly as every 100ms). Each of these data collection sub-VI has identical inputs but a unique cluster as its output, and takes 10-20ms to run. I thought that showing the FP of the data collection sub-VIs via a sub-panel would be the easiest way to allow the user to see data without needing a tab control and switching to one-of-X tabs with the matching datatype.

 

The issue I'm facing is that I'm using the Run VI method to call the sub-VI currently loaded in the subpanel, but whenever it executes it steals the focus for a second and changes the mouse cursor from arrow to selection-finger - you can imagine what happens at 100ms timing - the cursor is flinching wildly. I've tried disabling the subpanel VI but that doesn't change the loss-of-focus.

 

Is there a way to call the subpanel VI without causing loss of focus? Will using an asynchronous call work in this case? If so I guess I would need to preserve the reference to the loaded sub-VI and have a unique set of async nodes for each VI since the datatypes are unique.

How to stop consumer loop after producer queue finished?

$
0
0

Hi,

I would like to acquire data in a producer loop and afterwards process it in the consumer loop. I would like to stop the consumer loop when the producer loop is done. Therefore, I took a look at the notifiers available in LabVIEW. However, I was not able to prevent the consumer loop from crashing after I depopulated the queue. I attached a demo VI to this post. Do you have any idea what I am missing in my system design?

Thanks!

Peter

A strange question when configuring a Gige camera with IMAQdx.

$
0
0

Hello,

We are trying to acquire images from a Gige camera using the Labview 2018 (32-bit) and IMAQdx 18.5.To open the shutter, I used the Enumerate Attributes and Property Node modules to set the Pulse Rev value as shown below. However, I heard nothing and only a black screen was shown. So, I turned on the Highlight Execution and saw how it worked. To my surprise, I heard a voice of clatter and a normal image was received. But when I turned off the Highlight Execution, I could not get the image again. What should I do? Thanks in advance.

 

VI.jpg

SubVI and table/array

$
0
0

Is there any way to get a table or an array from a subvi??? Pls

In my project there's a subVI where I have a table with random numbers, I need to get all those values and write them in another table on my main project... I prefer table, but it can be using array as well...

String Control - Limit to single line

$
0
0

I'm currently working on a program where I'm obtaining a user input from a virtual keyboard which is a QR code reader. Due to the fact that all ASCII chars can be represented I have to ensure that some defined inputs like non-chars or numbers are skipped. I've therefore implemented a filtering function inside the "Key down?" event inside an event structure, which is working perfectly fine.

 

BUT I've found out that if "\r" is send via the virtual keyboard the control will introduce a second line in the string control, where "limit to single line" is activated. Is that an intended behavior or a bug?

 

I'm using LabVIEW 2018 f2 64 bit.

Regarding the FPGA data logging tutorial @ http://www.ni.com/tutorial/54219/en/

$
0
0

I am trying to configure a compact RIO (NI cRIO - 9041) to perform some logging from a 3-axis accelerometer. After we build an array and pass it to a "for" loop to interleave the measurement data and pass it to a FIFO buffer. However, the loop's "N" terminal (number of iterations of the loop) is left unwired. Does this mean that the loop will automatically iterate through all the elements of the array fed in?  


Creating subVI containing control and simulation loop functions

$
0
0

How to create subVI of VIs containing control and simulation loop functions e.g. TF block, summation, gain, saturation etc??

 

Regards

WAQAR

NXG 2.1 output of String Indicator is Not the same as The Output displayed on Labview 2017 even when the codes are exactly same

$
0
0

Hello , I have created a NXG 2.1 project of blowfish algorithm which takes in 2 inputs which are "username" and "some key" in order to generate an encrypted password (Output String).Check image below.

 

NxgBd.JPG


Now the code displayed below is of labview 2017 which is identical to above code of labview nxg

 

Labview1.JPG

 

If you see the output on labview front panel in the above image , it is "\1A\14v\88\FCe\CC\8F "

but on labview NXG 2.1 the output is totally different.Check image below.

(The inputs i have provided in both cases are the same).

NxgFP.JPG

 

 

I am not able to understand the reason for this different outputs.

 

Can someone help me out with this.

 

Thanks for taking out time and reading.

Network stream Error -314004

$
0
0

Hi All.

 

I would need a help regarding Network streams. I´m using it without any problems in one application. Now I made another one and I´m not able to make it work. It worked ok actually but after few days is not able to establish the connection (no changes in apps or firewall). It is running on company network. Firewall has been setup according NI documentation and all port ranges has been opened and I have a confirmation from firewall guy that it is not blocking the comunication. He can see that "client" is trying to connect but the "server" side is not answering.

 

What can be blocking point? I´m still getting very general error -314004.

 

I would need deeper information how it is working - what service is responsible for establishing the connection? Is it NI Application Web Server? Should I see opened a listenning port 2343 all the time? Any packages that are needed to be installed?

 

Recently there were some Win updates installed. Has anyone alse problems with some app after update?

 

Thank you for any comments.

 

Pavel

Change physical Channel set in task within VI

$
0
0

I have created 2 tasks:

one to output a square wave to a digital channel (DO) and another to sine wave to an analog output (AO)

 

I can see that within the DAQ assistant if I right-click on the channel in the 'configuration' tab, I get the option to 'Change Physical Channel'.

 

No sure if possible but this is what I would like to build:

in VI:

1. have a DAQmx Task dropdown menu - to allow used to select the DO or AO task.

2. a second dropdown menu listing the corresponding DO or AO channels from which user can select. this parameter would then 'Change Physical Channel' in the task.

3. a button to output the signals (that's the 'easy' part! ;P)

 

Any advice on how to build such a VI would be appreciated.

 

Sherzaad

   

Cannot enter/select value in cluster array

$
0
0

Hi,

 

Literary just created a cluster array control. cluster contains a String control and a combobox

 

I have nothing else so far except for a while loop and the control array cluster in my block diagram.

 

I then ran the VI as is to see if I could write and select items in the cluster array.

 

VI runs but I cannot enter anything into the String control or select an item from the combobox. (but can do that when NOT running)

 

any ideas why?

 

Sherzaad

Find velocity of moving particle using bounding box information ?

$
0
0

I am need a help into find the velocity of the moving particle.

Working project goal is to find the moving particle velocity using two images.

 

steps 

I am taking two images one after one 

do image processing 

do subtractions of two images first image- second image.

moving particle I can see in final image also drawing bounding box on to that

but I do not know how can I measure how much the particle is moved ? after last step 

camera is capturing the images at frame rate 30fps

 

So I need to know how to find the distance traveled by particle.

 

I have vision development kit in LabVIEW.

 

ask.JPG 

Image shows the distance traveled by particle

 

 

two images.JPGtwo captured image

let me know if anyone have idea to solve my problem.

 

let me know if any one need VI for more information.

 

VBAI crashes during inspection of large .avi file

$
0
0

I am having trouble inspecting a file. I implemented different steps including finding an edge in a region of interest and measuring the distance to a defined point. In the beginning the procedure works, but after a while the program crashes. I used VBAI to inspect a large .avi file (high image rate. highspeed camera used to make .avi video).

I tried cutting the video with a video-editing software, but after editing the video VBAI wouldn't accept the .avi file.

Any suggestions?

Thank you!


Error -10401 occurred at AI Group Config

$
0
0

Hello everyone,

 

I'm an IT technician at a local factory, never had any experience with LabView or anything with it related, so bare with me.

 

There was a computer that had a problem with motherboard, so I simply switched the motherboard. This computer is the main "tests machine".

 

Devices installed: LabView 2011 SP1 (win xp) with NI PCI-6220 and two NI 4351.

So, before anyone of you say that this is really old, I know that and eventually we will switch everything for the new equipment but now I need this working asap.

 

I get the following error:

Error -10401 occurred at AI Group Config

NI-DAQ LV: The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.

 

Things that I tried already: reinstalled LabView, reinstalled drivers (ni-daqmx and traditional), reinstalled the devices from pci slots.

NI PCI-6220 works fine with ni-daqmx 9.6

 

But the traditional ones are simply refusing to work, giving me the error above.

Drivers that are tried were the traditional ni-daq 7.3, 7.4, 7.4.4, 7.5.

 

The devices work fine in the MAX.

 

Any help would be appreciated...

NI MAX Devices and Interfaces cannot be reight-clicked and create a new connection

$
0
0

Unbenannt.PNG

Hello,

When I tried to right-click the devices and interfaces bottom to create a new connection, there were no reaction. I have already installed NI Visa 15.0.

 

Thanks a lot for your help.

 

Best Regards

Da Shi

How do I use perforce or other source code controllers in LabVIEW NXG?

$
0
0

Perforce can be successfully used in LabVIEW, but how do you use perforce or other source code controllers in LabVIEW NXG?

Quelqu'un peut il m'expliquer comment on a pu faire un graphe à partir de ce tableau ?

$
0
0
Moved to French board. Original poster has posted in French board before, so should have known.

Front panel designing

$
0
0

Hi all,

I need my front panel with Backgroung aand the controls and indicators should look semi-tranperent. I can sent my backgroung but i dont know how to do semi-transparent with other tab control graph indicator, string control or indicator.

Please see the attachment, I need something like this. Can anyone help me with this?

Viewing all 66691 articles
Browse latest View live


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