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

Can not find NI-DAQmx icon in Labview

$
0
0

Hello

I have installed Labview 2017 evaluation version, and, subsequently, NI-DAQmx software. However, I can not find "NI-DAQmx Data Acquisition" icons in Measurement I/O palette of Labview program. I wonder what is the problem and how may I solve it? Thank you very much!

 

Best regards, Xing


driver Dlls are missing

$
0
0

Hi,

I have installed 2013 evaluation version and now im trying to install drivers installation is alwys successful but when i place a VI related to HSDIO or DCpower it searcches for nihsdio.dll and i would not be able to locate it.

As i see in program files(x86)/NationaInstruments/Labview 2013/instr.lib  all the files are present and nihsdio folder is having LLB like everyone has.

I was initially using labview 2013, in between i have upgraded to 2016 and now i have uninstalled all 2016 components and im trying to install 2013.

 

Please can anyone help  me on this

 

Re: Is it possible to directly read a barcode into Labview?

$
0
0

 hi everyone..

                         Im also scanning a barcode using scanner and im able to get a result of it aswell. But in my situation my scanning will be automatic and scanned value will be adapted by the labview automatically. In my case PC will be used by the operator and labview.exe may be minimised or running behind all desktop windows and he will be using PC for other purposes.In that case im not able to get the scanned barcode value even if its scanned,the scanned value is generated only if the labview is opened and its in front of all desktop windows and cursor is clicked on the control space provided.

                        Any one can help me in this situation,were we can read the barcode value even if its minimised or its behind all the desktop background running.

                 

A VI script for opening an existing VI, remove the Read only attribute and save the VI.

$
0
0

Hi ,

I want to write 2 VI script which need to meet the below object.

Script 1:

A VI script for opening an existing VI, remove the Read only attribute and save the VI.

Script 2:

A VI script for opening an existing VI, check any error in VI and save the error in excel.

 

Please reply me if you have the same.

Regards,

Anand

 

 

Can't see CAN channels in NI MAX Data Neighbourhood can channels

$
0
0

Hello!

I'm using Labview 2015 (Windows 7) with NI 9862 CAN module mounted on cDAQ-9184 (as a single device on slot1).

NI 9862 is registered in NI MAX under Network devices.

Integrated NI MAX bus monitor is able to receive CAN messages.

I'm unable (or lack the knowledge) to define CAN channels for Data Neighborhood.

When I try to create new channel only NI-DAQmx options are available. (see image below)

Create new channel.jpg

 

How can I create CAN channel r where can I find relevant CAN database for NI9862?

insert randomly generated number into n by n matrix with keeping previous ones

$
0
0

 Hi I am new in Labview. I have a problem. I want to insert randomly generated number into n by n matrix with keeping previous ones with starting first row's first column then second column and so on.Then start from second row and so on.. How can I make it? I tried but every time it generated at the same time and continuosly changing variables. For example 10*10 matrix? Regards. 

Acquisition CompactDaq with 4 cards ??

$
0
0

Hi,

 

I have a big problem with LabView, and I'm totally a beginner on this soft, plus it's hard for me to understand english so I didn't manage to resolve my problem with things I found online.

 

So I'm using a CompactDaq-9138 with 4 cards : (9232, 9213, 9223 and 9203). And i'm on LabView 2012 (12.0). When I started my work The vi was already made for 3 cards and it work fine.

Now I need to use the 4 cards that I have. But when I try that I have an error : "- 200022 occured at DAQmx Start Task.vi : 4. Ressource requested by this task has already been reserved by a different task".

And I tried with only 3 cards, no matter which cards it was it worked, it's just when I have the 4 cards simultaneously. I always have this error on the "start.vi" of the fourth channel. I join my VI to this message, so it always occur at the "start vi" after the "start digital edge".

 

I already read some similar topics on the forum, about the clock of channels, things like that... But I'm really a beginner on LabView it's really hard for me to understand. (Plus I am french and the technical explanation in english on a soft that you don't know is complicated ^^").

So if someone know why I have this error and can explain it to me it would be really nice, because I've tried multiple things and don't know what to do now...

 

 

Thanks a lot

Detect "You're about to be signing out" using Call Library Function.

$
0
0

Hi,
I'm trying to use "Call Library Function" for detecting the message: "You're about to be signed out", that is triggerd by a Wago 759-870 UPS when there is a Power failure (buffermode).
I think this message is a standard Windows 10 popup which are used whenever Windows is planning to shutdown within a certain time...
Any idea what Library name/Function name(and nIndex) that is needed for detecting this message(when its generated)? Smiley Happy

 


multiply vectors by matrix in gpu

$
0
0

Hi there,

I currently use CUDA in LabVIEW for matrix multiplication as shown in the attachment

the GPU is used to compute large amount of data.

so I wounder how can I multiply a large no. of vectors (each of one) by a N*N matrix to produce a new set of vectors???

like this

x0,y0,z0  1st vector

x1,y1,z1  2nd vector

:

:

:

x1000,y1000,z1000

these vectors are stored as a 3*1000 array.

how can these operations of mul (vector by N*N) are distributed in the cores of GPU??

any advise please.

 

 

Insert an "exe" inside of a VI

$
0
0

Good morning everyone,


I would like to know if there is any way to launch an exe (created with labview too) to execute within a * vi in a particular zone, not to open independently but in a particular area of the main front panel.

Thanks for your help.

How using a arduino in LabView to show the FFT of a sensor output voltage signal (NEED HELP)

$
0
0

I created code to show the FFT of an output signal of a sensor digitalized  by arduino. And it works fine but it works when I connect physically the sensor which is good. But I cannot prove how it works without it , I want someone to help me find a way to test my code with kind of signal generator VI that can be used to se how precise my code works. Yes it does work. 

 

This is the codeThis is the codeWhen I connect the sensor (+ arduino) it worsk showing the FFT in "real time"When I connect the sensor (+ arduino) it worsk showing the FFT in "real time"

By the way the code I use for the arduino is the following:

void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

void loop() {
  Serial.println(analogRead(A0));
}

and the sensor I connect is a hall sensor and I move a magnet in a oscillatory way. please your help!! 

 

Need to find a way in code to prove that the VI works.And what is measuring is right. Any question or specific idea let me know. I tried everything but i find lots of problems related to incoherencies with the data type and among others.

 

 

 

Array of (T0, Y1, Y2, Y3) clusters (with Blanks) to Graph

$
0
0

I have an array of clusters each cluster has a timestamp (Xn) and an array of dbls (Yn,1; Yn,2;Yn,w...)


How can I change this arrangement into W clusters of Graphs with (Xn,Yn) arrays while not adding 0's to empty arrays:

Example:

MakeGraph.PNG

Fortunatly, it can be assumed that the first value in the array will always go to the first graph, the second to the second ect.

how to set boolean output high if its 5 boolean input high in proper sequence

$
0
0

Dear All

lets say i have 5 boolean inputs and one output.

i want to set output high if and only if all 5 boolean input be high in proper sequence like  1,2,3,4 and then 5.

i inputs do not high in this sequence, output should not be high.

 

i am having problem doing so.

please help

 

Thanks

DAQmx is missing in LabView

$
0
0

Hello,

I have just installed NI MAX 17.0.0 and LabView 2017 Professional Development System.

I have a USB-6008 DAQ board and have it installed (i.e. I see it in MAX, test it, can make a task etc.)

However in LabView any reference to DAQmx is missing - I cannot read a task for example. I have no idea what I am doing wrong and any help will be greatly appreciated.

saving data in intensity chart over time

$
0
0

Hi, 

I'm trying to save my real time data that i'm displaying it over intensity graph in an intensity chart. 

 

i checked the example in labview > intensity graph and chart data types. but still couldn't solve my problem. 

 

i'm working with sensor array that is displaying my data over intensity graph in good and accurate way. 

i'm trying to save those data in intensity chart to review it over time. 

 

i added a scrollbar to the x axis in intensity chart to review the old data by time

 

but every time when i'm running my vi, those data display on intensity chart, but never saved, just keep flowing. if i tried to scroll the x axis to previous time while the VI is running, i lose everything directly and the intensity chart start displaying the new data. 

 

when i stop the VI from running, the scrollbar in intensity chart grayed directly and i can't check anything. 

 

how can i solve this problem, any suggesting.

 

i tried to do a for loop with time delay and pass the data to chart, but still not working. 

i tried a state machine and the same not working. 

 

please check the snippet 


Run RT with FPGA

$
0
0

I'm doing a project where I have to use RT and FPGA on myRIO 1900, so I communicate the RT and FPGA by front panel, since it more easy than use FIFO. I compile the FPGA before run the RT and the compilation is sucesfully, although when I run the RT only execute the code that are in RT but the FPGA doesn't run anything and I don't why

Is In place structure really help in run time.

$
0
0

Hello All,

 

I have complex data structure like array of cluster inside cluster again array of cluster. 

 

I have used in place element structure and also normal unbundle and bundle but I have not seen any improvement in the speed. 

 

Can anybody help to understand about the info of in place structure node.

Keithley 24XX single read timing

$
0
0

Hello,

I am very new to Labview and am newly working with a Keithley 2400 source-meter in hopes of recording single resistance measurements of a product. I was able to use the Keithley 24XX Read Single example provided as a basis for creating this program. I'm curious specifically now in the timing of acquiring a single reading (as I want a resistance value after charging the very small capacitor involved where the source-meter is connected as well).

 

When and how is a single measurement acquired and recorded in the Keithley 24XX Read Single Labview example program?

Is it recorded for a period of time or number of counts after voltage is sourced? 

Are a certain number of measurements taken and filtered/averaged into a single reading? Or is it over a specific time period (for instance 1 second) that measurements are averaged? 

 

From the Keithley 2400 manual (attached), I've deduced that speed (specifically the number of power line cycles (NPLC)) and perhaps filters (specifically using a repeating filter with a designated filter count) could affect the timing  and value of the measurement. In Appendix A: Specifications  it then lists "Single Reading Operation Reading Rates (rdg./second)" and looking at the Source-Measure to GPIB column specifies for different speeds the number of reading per second that can be taken for each speed.   I'm just unsure what conclusions I can make from these parameters and how the Labview program uses them to determine what a single acquired measurement value is.

 

Using speed control to position a lead/ball screw through servo motor

$
0
0

I am using ASDA-AB servo driver with servo motors to control a x/y stage. In my current setup I am using USB-6341 as a Controller for the stage. The servo drivers are set in speed control mode. Thus by sending analog voltage signals, I can control the rotational speed of the motor. As for the stage, it's linear motion is guided by a lead screw with pitch of 10mm. So for each rotation it moves 10mm forward. The encoder that came with the servo provides 2048 pulses per revolution so, basically that gives me a measurement resolution of 0.005mm when converted to linear motion. 

So, I am stuck at part of the using the speed control to position the lead screw. Unlike position control where I have used pwm signals to control the position, this setup only allows me to control the analog output voltage (rpm of the servo) and I can use the encoder reading(difference encoder) as a feedback. But I am not certain about the mathematical part of this control. 

1. I need some suggestions or references if anyone has tried this kind of setup before and can help me with the control loop? 

I have already used NI motion controller in past so, I am aware that I cannot use softmotion module with USB devices. 

Thank you for any suggestions.

Fresh Install Issues

$
0
0

I have installed Labview 2017 on my pc for evaluation.  The install goes fine but upon launching the application does not behave as expected. Clicking on anything in the Welcome to Labview box just makes the windows blink/flash but goes nowhere.  If I click off to the side the "Welcome to Windows will disappear but again clicking on a menu like file doesnt do anything.

 

I have un installed and reinstalled 4 times including using the 64 bit version for one attempt. All have the same outcome.

 

image.png

Viewing all 69758 articles
Browse latest View live


Latest Images

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