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

IPE structure BUG ?!? Expert opinions sought

$
0
0

Please see this thread and post any followups there.

 

I'm having a grand ole time speculating recklessly about things where I have more ignorance and guesses than bona fide knowledge.   It's fun and it keeps me off the streets, but I think the OP will be better served by someone with deeper understanding.  That's the reason for putting a clickbait word like "BUG" in the subject...

 

 

- Kevin P


convert from labview 15.0 to labview 10.0.1

Reading Omega Torque Transducer to LabVIEW

$
0
0

Hi all,

I've got an Omega TQ513 torque transducer (user manual scan attached) that I'm trying to read and record via LabVIEW.  The output of the sensor is 2.0 mV/V, so I believe I can use NI-9237 to accomplish what I'm after; can anyone confirm that by chance?

 

Any advice on this one is greatly appreciated!

Ethercat Hub and the NI-9144

$
0
0

Hello,

Using the NI-9144.  I understand EthercCAT can daisy chain and what not, but daisy chaining our system is completely nonsensical.  Are there hubs available?  I've read about the CU1128 but cannot find that on sale outside of eBay anywhere.  Do typical network switches work as well?  Does NI sell something?  Can the NI-9144 even work with a Hub?

 

Oh... and my LabVIEW question is... do you prefer indicator and controls as big boxes or small boxes on your block diagram.  (I forget, terminals or something?)

Analog Discovery - Labview

$
0
0

Hi,

 

myRIO has a very simple Labview library. I want a myRIO but very expensive. I have a Analog discovery. And I think use Analog discovery as myRIO. İs there any way simple project with Analog discovery?

 

myrio.pngmyRIO

Respond to Main Front Panel Event from Anywhere at Any Time During Execution

$
0
0

Hello,

I've been trying to figure out a way to break out of a sub VI at any point in time based on a stop button on the main VI's front panel.  I've tried the que system, and a state machine with an event structure to handle state changes, but each state will run all the way to the end before realizing it should stop.  I've tried a "stop flag" FGV, and polled it before each sub VI, but the event I use to set the flag doesn't actually happen until the state is done anyway, defeating the purpose.  The reason I would like to do this is each state will contain a string of VI's that set up various equipment and relays to make measurements, then store the measurements for reporting later.  Ideally, the sequence of sub VI's should stop and then skip ahead to the "exit" or stop state, where I handle clearing of relays and power down.

 

Is there a recommended design pattern that can achieve this?  I've only been doing LabVIEW for a couple months, but I've dabbled in C++, Java, and C# for a few years.  It would be really nice if LabVIEW had a software interrupt / handler of some kind.

 

Thanks,

JK

VISA USB

$
0
0

Hi everyone,

My lecture gave me this project: "Communicate between C# and microprocessor (STM32F407) via USB, using VISA driver". 

Can you guys help me answering my question below?

 I'm not sure how the project will be executed. STM32 will send some data to through USB cable to PC's USB port. Do I need to open LABView, read data via VISA function, then transfer that data to Visual Studio (C#). Or VISA is just the driver and when I send data from STM32, the PC will read that data in USB port with VISA driver, and then Visual Studio take data directly from that USB port?

Thank you for reading and if you are familiar with this topic, please answer me asap. 

 

 

 

fichier CSV

$
0
0

Bonjour,

besoin de votre aide 

mon problème est le suivant : 

J’aimerai avoir un fichier CSV que je vais importer directement dans la listbox et de faire la sélection par la suite (vi en PJ)

 La liste de capteur que j’ai n’est pas permanente (c'est juste un exemple) je voudrai avoir un fichier CSV donc ou on aura la possibilité de modifier le contenu(ajout ou suppression de capteur dans le fichier )et ensuite l’insérer au programme (Chemin du fichier)

ça éviterai de toucher au programme à chaque fois

 

c'est assez urgent ! 

 

En vous remerciant d'avance 

 

cordialement 


Probleme au lancement du programme

$
0
0

Bonjour, je rencontre un problème avec une partie de mon programme, au niveau de l’assistant DAQ.

 

Contexte : J'aimerai pouvoir modifier la luminosité d'une lampe.

Pour ceci j'envoie une information 0/10V à un gradateur puis cette information va dans la lampe.

 

Je pense que je problème vient du paramétrage de l'assistant DAQ, mais je n'arrive pas à résoudre ce problème.

Display Gray Scale Image

$
0
0

Dear  Members,

 

Kindly, how can I display (write) a gray scale image in labview using Flatten Pixmap when my input image is a two dimensional matrix 64x64 gray scale.? 

Hi Am Getting this error can anyone help me in solving it.

$
0
0

Error -2147217865 occurred at NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibSmiley Very HappyB Tools Select Data.vi->Connect to ACCDB Database.vi

sih error.jpg

Several NI cards : choice of the Master Timebase

$
0
0

Hello everyone,

 

I'm computing a labview code to acquire simultaneously several NI cards (two 9222 - two 9215 - one 9234). To do this, I have a sub-VI permitting me to acquire data from cards, taking for entries parameters like frequency, path, samples number etc.

 

The 9234 NI card has a limited choice for its frequency (Timebase = 13,072 MHz, so the allowed frequencies are submultiples of 51,2 kHz) and this drive all the frequencies of other cards. For exemple, if I choose a frequency of 20kHz for the whole system, this frequency is automatically changed into 25,6 kHz (a submultiple of 50 kHz).

 

I'd like to know if there is a way to choose the frequence I want, or at least to change the Time base, to 12,8 Mhz for instance, so that I can have frequencies like 50 kHz or 25 kHz (it's more practical for my post-treatment). I tried to work on the source of the "DAQmx Timing.VI" but every time I get an error. I put here the sub-VI I use to acquire several cards

 

Thanks in advance for your help

Error 63044:The RIO server could not be found on the specified remote device.

$
0
0

Hello;

I am using for the first time an FPGA application on sbRIO 9627 ; at the beginning  I'm trying to confirm successful communication using very simple VI.

It compiles and generates FPGA Bitfiles but when run an error 63044 is shown in the attached screenshot.

I am running Labview 2017 on Windows 10 and my device as mentionned is  sbRIO 9627. 

 

your help will be very appreciated.

Delete a column of a Waveform

$
0
0

Good afternoon,

 

I am trying to delete a column of a waveform.

 

I created the waveform using the "SDW 16-bit Register Swap.vi" example from the "SPI Digital Waveform Reference Library" which I downloaded here: http://www.ni.com/example/31163/en/

 

This SPI waveform contains 4 signals:

  1. CS
  2. MISO -> I want to delete this one from the waveform
  3. MOSI
  4. SCLK

question3.PNGFront Panel of SDW 16-bit Register Swap.viquestion2.PNGWaveform observed with probe

I tried to extract the Y attribute from the waveform, which I thought would be Array, and then use "Delete From Array Function" to delete the column. (https://zone.ni.com/reference/en-XX/help/371361N-01/glang/delete_from_array/)

 

(This would be similar to what is done here to delete a portion of a waveform: https://forums.ni.com/t5/Example-Programs/Delete-Portion-Of-Waveform/ta-p/3510593)

 

However, I can't connect the Y attribute output to the Array functions!

 

question.PNGY attribute cannot be connected to "Delete From Array Function"

 

None of the Waveform Library function seems to do the trick either. Would anyone have any idea?

 

Thanks a lot in advance for your help,

Hugues

Using NI VISA to control relay card

$
0
0

Hello,

I am tryng to write a labview program to switch on and switch off relays on the 8fachrelaycard produced by Conrad ( instruction manual attached with the interesting part at page 31-32-33-34). The task should be really simple but the relay card behaves in a way that I don't understant. I wrote a program that writes 4 bits at the same time as written in the instruction manual: first beat for the comand , second beat for the board address,third bit for the relay addres, fourth bit for the XOR controll.

My intention was to initialize the card, inizialize the relay and then write the comand for switching on the relay. Even if the switch on command corresponds to writing 3 on the first position of the bits array,the realy card doen't respond.Furthermore it switches on 2 realays(the second and the third) when the command  1 is selected (which should correspond to initialize). Furthermore sometimes the same program acts like said before, sometimes it doesn't work at all. It doesn't give me error either.

I also am using the software used by conrad for testing the card and that works perfectly.

Do you have any suggestions?

Thank you a lot


Touch Controls for GUI

$
0
0

Hi Folks,

trying to create a GUI that should be used on touch screens in productions. The problem is: Changing the size of the controls will not affect it's special function areas (like the little button for the Drop Down List to show up).

By means of this the gui is entirely not usable with gloves which will cause those poor people that have to use the software to darn me 😞

Is there a chance to create resizeable controls that do not look like Windows 3.11? Or does anyone know a modern looking scaleable control library?

Thank you very much

 

Nils

Convert from labview 2017 to labview 2013

$
0
0

Hi,

I have a problem to open the attached file as it was created using LV2017. I am using LV 2013. Please convert the attached file to LV2013.

Thank you

ECU Measurement and Calibration Toolkit datastream without database

$
0
0

Hello,

i use the ECU Measurement and Calibration Toolkit for measuring the ECU Datastream. My problem is, that i receive less data then configured in the A2L-database. So my idea was, to read out all datas which the ECU is sending. Afterwards i can compare the amount of received data-channels from the ECU which the amount data-channels in the A2L-database and delete all channels which are not received from the ECU.

 

Now my problem is, that i don´t know, how i can measure all datas from the ECU without selecting the channels one by one.

 

thank you i advance.

Disable the windows key?

$
0
0

Hi,

 

How can I detect the when the user hits the Windows key?

The "Key Down" event doesn't detect this key.

 

- Sable

Build Installer Missing Packages (don't know what to install)

$
0
0

Dear Community

After starting with installation of LV2019 i observed that i have had big problems in building applications in LV2018x64 (error 3 could not load front panel)

This has been solved by removing all 2019 stuff and reinstalling daqmx 18.5.

Now the application builds fine again.

 

The big problem is now that the building of an installation package of my program always wants me to put in a CD with some unknown component.

I tried a lot of things installing LV2017 and device drivers and DAQmx's of different types but nothing solved the problem. 

At the beginning of this problem it said that the NI VS2010Msms* is missing. 

Then it asked me to put in the source NI mx LabVIEW Control Installer.

I pointed to any location where i have NI installable software but it never was the correct one.

 

I am really confused what I can do.

Here are some screenshots to see the details.

 

I am also confused that there are some check boxes not changeable (is this normal or the origin of the problem).

 

I also tried to make a absolutely new installer specification which should only use the recommended installers. In this case the problem is the same.

 

 

Thank you for your ideas to solve this problem.

 

Gernot

 

 

 

Viewing all 66923 articles
Browse latest View live


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