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

Extremely slow exe build - Azdo Workaround

$
0
0

I have got a project which has suddenly become extremely slow to compile (it is still stuck on Initialising build after 30 minutes, normally it will compile after ~5mins)

 

The application build log is very slowly entries similar to below

 

[AB_L Store Identity Maps](39.504)(796224):
Azdo 1794541 workaround applied on: {Path to members of classes}

 

Currently it has added 11 entries in ~ 30 minutes. 

 

I can't find much online regarding this.

 

Does anyone have any more information on what this workaround is/what it means the root cause of my slow down is.


frequency measurement problem

$
0
0

Hello everyone, I have a measuring bench for speed sensors composed of a gear wheel, a motor and a chopper.I also have a NI PCI 6221 acquisition card I have to acquire signal amplitudes and frequency and put them in graphs but as you can see in the photo my blocks do not see anything, they just return 0. On other programs where I do tests I have error 20315 which appears with the message "The Waveform dt parameter is <= 0" However, I checked the status of my card and everything is fine Do you have any ideas?

katramz_0-1740395323620.png

Thanks

Connect and control z921b with kdc101 without kinesis gui.

$
0
0

Greetings to all the Community Members,

I am a student and just started using labview with learning the basics for my experiment.

I have already tried and used the .net function to connect the kdc101 to control the z921b motor but it comes with the kinesis gui.

So is there any other way to do the same without the kinesis gui on the front panel?

I am grateful for all the help and answers. Thank You.

 

Network check of the pc map

$
0
0

Hi , I'm looking to see if someone can help me with an issue i have with checking the network map on a PC.

 

The solution i was trying to use looks to be 2 ways of doing the same thing.

Before i send a json file i want to (a) Check the network is up (b) check the mapped drive has not dropped.

 

The code i have seems to be OK to check that the network is up and that the server destination is up, but an issue I've had is the network is up but the mapped drive has dropped.

So i was trying to develop code that would do both checks and AND them to make sure the network was up and the Map was was up, but I've realised that what i have is two instances of checking the network is up but doesn't check the Mapped drive is available from the PC i am using.

 

ping.png

 

Any help would be gratefully appreciated.

 

regards  

 

 

PXIe-4139 SMU generate transient voltage supply

$
0
0

Hello!

 

I would like to generate voltage spikes with the 4139 SMU. What is the maximum possible bandwith that can be reached? For example what is the highest slew rate for a PWM voltage signal. Thanks!

Restarting an NI-SCOPE measurement when buffer overflow

$
0
0

I have an NI PXIe-5122 oscilloscope mounted in a PXIe-1073 chassis. The signal type to measure is a train of pulses. This signal is provided by an NI PXIe 5413. At the start of the train, the waveform generator generate a trigger on RTSI0, this is the scopes reference trigger. 

 

The goal is to measure many of these pulse trains and to statistics on them (eye diagram, bit error rate, etc.). At high pulse frequencies (>10 MHz), the scope sometimes goes in error due to the data not being read fast enough. I don't care about reading every single pulse train, skipping some is acceptable, it's the statistics that matter.

 

When the buffer overflow, my idea was to simply abort and reinitiate the scope. The waveform generate keeps generating independently. Like this basically:

Scope Acquire.png

But once this error happens once, the next fetch calls always go in timeout, i.e. they don't get triggered even though I don't make any calls to the waveform generator. The above VI is the only vi in a while loop, it sends the data to a queue where a consumer loop processes it.

 

Here is how I initialize the scope before calling acquire:

Scope initialize.png

Scope Configure.png

 

What am I doing wrong?

Is there a way to buy LabVIEW licenses direct from NI without it going to a reseller?

$
0
0

I have NI all set up in our company's procurement system.

I tried to place an order recently and it was sent to a third party I wasn't familiar with.

For various reasons this causes a lot of headache for me. Based in the US (West Coast) so looking for anyone who has direct sales advice.

Not sure how I contact NI without it being routed to the reseller.

Temperature control with rigol power supply , peltier heater and daq thermocouple

$
0
0

Hello everyone , I am currently running a test where I plan to measure different conductivity and resistivity at different temperatures, I have a peltier heater and a thermocouple connecting to daq 973A , I want to create some sort of control where i can set a specific temperature like 60 degrees celsius and my power supply provides voltage to heat up to this point and automatically regulates power to maintain that temperature value on my thermocouple, I read somewhere in this community about using a PID controller to do . But I am somehow lost on how to implement , conversely can I do  a simple case structure that turns the heater on or off according to the temperature reading on the probe will that be able to solve the issue. Attached is my VIScreenshot 2025-02-24 170135.pngScreenshot 2025-02-24 170223.png


スタックシーケンスストラクチャについて

$
0
0

初歩的な内容になるかもしれませんが、スタックシーケンスストラクチャでセレクトラベルの数値が黒塗りになっております。

これはどのような意味を持っているのでしょうか?

SwordThree_0-1740449722349.png

 

Sampling rate issues with 6517B

$
0
0

Hi everyone,

I'm running the attached code to control my 6517B, but I'm struggling to achieve the full specified sampling rate. Accuracy isn't my main concern—I just need to reach 400–430 samples per second. However, no matter how I adjust the aperture settings, I can't get beyond 144 samples per second.

Are there any limitations in my code that might be preventing faster measurements?
I'd really appreciate any insights or suggestions.

Thanks in advance!

NI-9212 Thermocouple type selection through PropertyNode

$
0
0

I'm having issues while trying to set the thermocouple type in a NI-9212 board connected to a cRIO 9030.

The VI used is really basic, as shown in figure

Valentino_R_0-1740478929132.png

 

Unfortunately, the VI ends with error code -66205 (The variable object was not found.)

The NI-9212 board is available in the LabView project, where the board is referred as Mod2.

Valentino_R_1-1740479144488.png

If I set the Thermocouple type through the LabView project, everything works fine.

 

I don't know if the error is related to the following. By checking the NI MAX, the boards are not Mod1/Mod2, but ASRL1::INSTR/ASRL2::INSTR. Is there some software to be installed on the cRIO that I'm missing?

Valentino_R_2-1740479393288.png

 

Installer compatability issues

$
0
0

I've written a small widget to capture and log serial data from some Mitutoyo LVDTs

 

it works perfectly running in the LabVIEW environment, however when I build the application (I'm using LV 2021 32-bit) and try to install it on the target machines, it throws up the error 'this installer requires windows 10 64-bit (version 1507) or newer'

how can I ensure backwards compatability with the installer? I'm also concerned about the 64-bit message as I'm building the application in LV 32-bit specifically

 

The target machines are old (one is running windows XP and the other windows 10 32-bit) and this is an attempt to keep them functioning without forking out for new computers

 

is it as simple as installing an older version of labview to build the installer in, or is there an option I've missed?

on screen keyboard not working with labview

$
0
0

shruthiganapathy_0-1740485732247.png

I have added this in my UI where when i run the program on screen keyboard pops up. this is working in my laptop but it is not working in my another touch panel pc. what could be the possible issue ? Kindly guide me. 
labview configurations : NI Labview 2024 Q3 (64 bit)

Pawns App Referral Code [4992650] – Earn Rewards and Win Prizes!

$
0
0

Looking to earn extra money using the Pawns app? Use the Pawns App Referral Code [4992650] to unlock rewards like a $5 sign-up bonus and a chance to win an iPhone 15!

Problems with controlling a CAN stepper motor

$
0
0

Hi!

I am very new to labview and have had a lot of help getting started, but now I have no one to ask for help. I am trying to help develop a machine that is doing fatigue testing of foam at the moment. There are three machines, and they were built and programmed by an engineering student for his masters thesis.

I will quickly list my problems, and maybe it is something obvious.

On one of the machines I can run, but the other two get stuck while running the "clear-error" VI, which is just a standard NI-VI, I have tracked the error all the way down to a read command which is clearly not where I should start changing things up... I have added the entire VI causing trouble.

Skumrigg_0-1740492037905.png

The rigs are identical as far as hardware goes, and two of them share the exact same code to operate, still there is one of them that works, and the other two don't what am I missing?
The project file with all the VI:s is quite large and poorly annotated, so I will skip adding it. But this is part of a calibration VI:where the stepper sends a piston (using a linear actuator) onto the load cell and zeros it. Following the clear-error VI is a "open brake" VI and then one for setting acceleration parameters and so on. But for me it just stands still doing nothing.


I am running labview 2019 and NI-CAN 18.5.0 (I know it shouldn't be compatible, but this worked for my predecessor when he worked on the machines in 2023). Program runs the way it should without errors.

I am using a USB-8472 (Low-Speed/Fault-Tolerant CAN) for the CAN-controls, and then there is a load cell, which is connected to a NI USB-6002 for data aquisition.




Software Architecture Test Bench with multiple test stations

$
0
0

Hello together,

 

I've a test bench with one Test station. The test bench includes one test mechanical setup to contact and put strain on the DUT, controlled by a cRio 9045. Data Aquistion is also done via the cRio.

The test bench is now being expanded to include three more identical test setups.

 

In advance I'm thinking about the software structure, so that the BD will not to extensive and confusing.

There are two approaches I think.

 

1. I build a few Vi's. One for Data Aquistion, one for each test setup control. But what are the oppertunites to communicate between the Vi's? The test setup has to interact with the measured Data, if there any limits overshouted. The communication should be fast and save ressource.

 

2. I build one Vi' which contains many SubVi's to keep the BD clear

 

Did anyone have experince what is the best way to handle multiple test setups? Maybe we can discuss advantages and disadvantages. Further suggestions are welcome.

Lettura file excel

$
0
0

Buongiorno

uso Labview per macOS, volevo sapere se esiste il report generation tool che legge i file excel

grazie mille

Error 1149 and Error 1000 occurred at Invode Node .vi

$
0
0

I got error 1149 when,

Launch Main Menu then run >>Back Button

Launch Main Menu then run >> Default Data >> Back Button
Launch Main Menu then run >> Default Data >> 2 Bus System >>Back Button
Launch Main Menu then run >> Default Data >> 2 Bus System >> Fault Analysis >> Back Button

 

Rusyaidi_arif_cute_0-1740498725861.png

 

Error 1000 when,
Launch Main Menu then run >> Default Data >> 2 Bus System >> Fault Analysis >> Menu Button

Rusyaidi_arif_cute_1-1740498856113.png

 

 

Read Excel file on macOS

$
0
0

Buongiorno

uso Labview per macOS, volevo sapere se esiste il report generation tool che legge i file excel

grazie mille

Why can't I create property definition folders on an interface?

$
0
0

First of all, don't tell me about how it doesn't make sense because interfaces don't have private data.  Yes, that IS why you can't right-click on an interface and select "VI for data member access" like you can on a class.

 

HOWEVER, on a class, you can also create properties manually by selecting New -> Property definition folder, and then create the accessors manually by selecting "New -> VI from Dynamic Dispatch Template".  In this way, you can create properties that are not simply the getting and setting of a member of the private data cluster.

 

WHY can you not do this on an interface?

 

And here's the kicker:  if you create a normal virtual folder on the interface, save that, and then edit the .lvclass file in a simple text editor, you can change the type of the folder from "Folder" to "Property Definition" and EVERYTHING WORKS!  You can then create the dynamic dispatch accessors and they become overrideable in child classes, and are still properties you can use in property nodes and so on!  

 

So, there appears to be no reason for this limitation.  The option was just removed from the context menu -- even though all the plumbing is there and everything works.  WHY?

 

It's just basic object orientation.  Suppose you have am interface like "Vehicle".  You might derive child classes like "Bicycle", "Automobile", "Airplane", etc.  Then, you define some properties on "Vehicle" like "Color", "NumberOfWheels".  "PropulsionType", etc.  These become properties the child classes must override, and each child class might obtain its value from a different source.  There's nothing new or OO-breaking about any of this, and apparently NI has thought about this because IT WORKS if you edit the .lvclass file as described above.

Viewing all 67123 articles
Browse latest View live


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