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

Labview menus magnify and display for to the right of where they should

$
0
0

Hi,

 

While I was looking for an option in the Labview 2018 toolbar menus, some sudden error occurred where the menus became oddly bigger in size and translated to the right like 10 inches on the screen. Choosing options from this dislocated menu still required me to click where the menu would have been normally and at its typical size.

 

Wondering if this issue can be fixed.


Running a LabVIEW executable (developed on Windows machine) on an Ubuntu machine

$
0
0

I'm right now experimenting with a C++ program on a machine running Ubuntu 16.04. What I'd like to do is get the C++ program to somehow integrate/incorporate/play nice with a LabVIEW 2014 executable developed on a machine running Windows 10.

 

Here's my question (and I realize I'm likely asking the wrong question): is it possible for a LabVIEW 2014 executable developed in Windows to work in Ubuntu, provided all the necessary drivers are installed?

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

$
0
0

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!

convert from labview 15.0 to labview 10.0.1

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

Lokking for Database Toolkits

$
0
0

Hello everybody,

 

I'm looking for a Database Toolkit for no particulary DB. Probably mySQL over odbc, but shure it has to be 64bit. I'm very surprised that I can't find very much. Here are my results until now:

 

  1. ADO Toolkit or here
  2. LabView Database Library
  3. LabVIEW SQL Toolkit von halvorsen
  4. NI Database Connectivity Toolkit
  5. Database Connectivity Toolkit für schnelle Datenbank-Transaktionen von Ovak Technologies
  6. GDataBase for MySQL
  7. LabSQL

1. Seems to have all basic functionality, but no support and it's not under development any longer.

2. I can't get it to work with 64 bit.

3. Similar to 1.

4. Would be our first Option - but doesn't support 64bit, so it's out. What does NI think to not support 64bit?

5. Nice - you can convert the variant after a select to a typedef Cluster

6. Seems to have most of extra functions, like transactions and conversions (UTF8 <-> String, Timestamp <-> date string). Unfortunatly the evaluation version won't connect to my test mySQL Server, so I can't test it more deeply

7. I've read this term often in forums - but all links are broken, so it seems to be dead.

 

Are there other Toolkits out? What Toolkit should I choose? What are your experiences? Thanks for any ideas!

Cheers, Alex

 

It's a crosspost

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

Viewing all 69088 articles
Browse latest View live


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