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

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

 

 

 

New LabVIEW download page does not work

adquisición de señales análogas

$
0
0

Que tal comunidad tengo un  problema al adquirir mis señales análogas de unos sensores de presión, bueno les explico todo trabaja perfecto entre sensores y tarjeta el problema esta cuando muestro la señal o mi presión en pantalla ya que el sensor no manda ningun voltaje pero en la pantalla aparece como su este estuviera llegando voltaje como si entrara ruido pero al mapear la señal o medir voltaje esta en cero cual sera el problema o porque pasa esto les dejo una imagen de mi programa

problem with resource name

$
0
0

hello

I am trying to write a programme using Function Generator and Variable Power supplies, I use NI Elvis II+ and LabVIEW 2015.

I coud not configure the name of my device *Dev3* in the resource name as you see in the pic below.

I refreshed the Max.
I refreshed the resource name.
I rebooted my system.

A quick query about LV functionality

$
0
0

Given this vi that controls a motor based on some sensor data, I have some logic that determines the next motor state (based on the previous state & some sensor input). Furthermore, I need to test/evaluate different logical methods to determine the best motor/sensor approach for our application. This currently leads me to the practice using nodes/wires to encapsulate the state logic into a subVi, then trying the sub in the larger test vi.

 

My question is, can I compose the logic in C and make this usable (by some means) to the test vi, instead of wiring the logic into subVIs? Since the logic can be distilled to primitive data types, it seems like it would be much faster to type the transition function into C than it would be to encode it into a subVi w/wires & nodes.

 

Am I making any sense here? I've been using LV for about four weeks now. I'm wondering if there is a method of "compiling" a function written in C into a node that can be placed into a vi. Thanks in advance for you help.


Install LabView 2019 on hard drive other than C:

$
0
0

So, I recently downloaded the NI software bundle Spring 2019 because I wanted to upgrade from LabView2018 SPI1. To my disappointment, NI Package Manager doesn't allow me to choose a destination path and installs everything under C:/Program Files/ . Unfortunately, I don't have enough disk space on my SSD, so I wanted to have the option to install it on my other HDD, D:/.

 

This was possible when I installed LabView2018 SP1 in the past. Please note that I want to install the FPGA module with the Vivado 2017.2 compilation tools, so disk space is a serious issue...

IEEE write converted from C

$
0
0

Hello all.  Forgive me for the somewhat basic question, but I'm trying to control an old magnet control gaussmeter (Varian FR41) and the old C code looks like this:

{
  long  temp;
  int   z1,z2,z3,z4,b1,b2,b3;
  float b;
  double gauss,hv=9555.,magconst=.069,Mass=171.;

  if (ieeeinit()==-1)
  {
    printf("Cannot initialize IEEE system.\n");
    exit(1);
  }
  gauss=sqrt(Mass*hv/magconst);
  temp=10*gauss;
  b=temp/10.;
  z1=b/1000;
  z2=b/100;
  z3=b/10;
  z4=b;
  printf("\n\r %f %f %d %d %d %d",gauss,b,z1,z2,z3,z4);
  b1=z2+z1*6;
  b2=z4+6*z3-160*z2;
  b3=(b-z4)*160+14;
  printf("\n\r %d %d %d %d",7,b1,b2,b3);
  ieeewt("output 08;");
  ieeeprtf("%c%c%c%c\n",7,b1,b2,b3);
}

 

I'm having trouble with the conversion to LabView in two areas.  First, the in the line

b=temp/10.;

I do not know how to reproduce the "." element selection in LabView.  

 

Lastly, I can't seem to get the 

  ieeeprtf("%c%c%c%c\n",7,b1,b2,b3);

to communicate with the instrument using the GPIB Send Message.vi.  Is there another solution to sending characters to the instrument through the GPIB hub?

 

Thanks,

Jesse

 

 

 

 

 

updating distributed application

$
0
0

I have a distributed application that I had sent to a customer, including the installation file with LabVIEW real time engine.  After testing it, they wanted several changes, one of which included a sub VI not included with the original.  I rebuilt the application, then sent them the .exe file.  The customer deleted the previous version and copied the new version of .exe to their computer

The customer has commented that the file will not even run.  

1.  Is the problem because I only sent them the .exe (application) file, and not the .aliases and .ini (Configuration settings) files?  I guess that makes sense, now that I read the type of folder. 

or

2. Because I added a new sub vi to the program, do they need to have a installer file?  I noticed one of the steps in the installer requires all files to be called out.   This kind of contradicts the idea that if a customer downloads LabVIEW run-time engine, all they need is the application file.

or

3. Do they need both?  Both files together was 1.2GB large, because I had to include an extra installer, DAQmx Application Development Support.  

 

Independent instances of same subVI

$
0
0

Hi, I am making a control panel for eight temperature controllers. The controllers communicate to labVIEW with serial communication. I made a subVI that has a while loop inside to display temperature values every certain time. In the main VI I call twice this subVI with independent parameters (inputs) and control the open/close of their front panels with buttons. Although, the Hierarchy diagram shows that both references points to the same subVI so I cannot open them independently. Can you help me, please?

Main VI:

Main VI.png

 

subVI Block diagram (Panel individual.vi):subVI bd.png

subVI Front Panel:subVI fp.png

 

GOOP Development Suite is Missing

$
0
0

I'm installing LabVIEW 2018 onto a new computer that I'm trying to setup for development work.  

Whenever I open the project I get the following error:


C:\Source\CLV Station\Core\Source\WebServices\WebTool.vi (WebTool.vi)
NI GOOP Development Suite support for LabVIEW 2018 is missing and is referenced by the following VIs:


Twice, I have tried installing the NI GOOP suite to try to get rid of this error.  I received the error after each installation.

 

The snapshot below shows that the VI Package Manager seems to believe that the suite is installed.  However, when I load the project it gives me the error indicated above.

 NI GOOP.PNG

 

I would appreciate any help toward resolving this issue.

Large, Pixelated Cursor in LabVIEW 2018 SP1 on Windows 10

$
0
0

Greetings,

 

I have encountered a weird problem with LabVIEW 2018 SP1 (18.0.1f2) and the cursor in the development environment. The cursor is excessively large and pixelated. I believe it is being rendered at a lower resolution, and this is related to my high DPI screen. Please see the attached screenshots for examples of the problem. I acknowledge the fonts will be fuzzy and pixelated with a high DPI monitor.

 

Interestingly, this does not occur in LabVIEW 2015 SP1, which I also have installed. Please see the attached screenshots.

 

Summarized system information:

  • Surface Pro 6
  • Intel Core i7-8650U CPU @ 1.90 GHz 2.11 GHz
  • 16.0 GB Memory
  • 64-bit Windows 10 Pro
  • Windows 10.0.17763 Build 17763
  • 512 GB SSD
  • Intel UHD Graphics 620
  • Display Settings: 200% scale (Recommended), 2736 x 1824 (Recommended)

I am not running in tablet mode. I am not connected to any external monitors. I have read and tried the instructions in the "All the Main Application Windows in LabVIEW are Tiny" and the "Inconsistent LabVIEW UI Behavior with Multiple Monitors on Windows 10" knowledge base papers. If I disable scaling for LabVIEW, then the cursor is correct, but the front panel and block diagrams are tiny and nearly unreadable. I will mention, disabling the high DPI scaling fixed an issue I had with NI MAX.

 

I have seen the "LabVIEW and display 4K (3840x2160)" post as well. I tried halving the resolution and scaling, but then I get vertical or horizontal black bars on the screen. I also tried playing with the scaling and resolution, but regardless of the changes either the cursor looks good and the rest of LabVIEW is unreadable/unusable or the cursor looks bad and the rest of LabVIEW is readable/usable. I also think this is a different issue than the 4K monitor because only the cursor appears to be affected and I only have the problem in LabVIEW 2018 SPI.

 

Additionally, the cursor only appears to be large and pixelated within the block diagram and front panel. As soon as I move it to the menus or any context/pop-up menus/dialogs, the cursor changes to the system cursor and looks fine. Has anyone else experienced this issue? I am open to suggestions for potential workarounds.

 

Thanks,

Chris

Put the data from array into listbox

$
0
0

Hello everyone.

 

I have more than one file but the listbox shows only first file (index 0 of the array). I would like to know how to bring all the values displayed in the listbox.

 

Thank you in advance.

 

 

listbox1.PNG

 

listbox2.PNG

 

listbox4.PNG

 

listbox6.PNG

 


Help!The program suddenly don't work! [ERROR] The back-end compiler for this deploy...

$
0
0

version: LabVIEW NXG 3.0

My programs worked nicely yesterday but it went wrong today and there is no modification for my program. The error said:

 

The back-end complier for this deploy target failed with an error while processing this file. The compiler failed to update the code for a dependency. The file may be corrupt or there may be a bug in the back-end compiler. Consider undoing recent edits, closing and reloading the current project, or restarting the application....

 

The problem weren't solved at present and my program is needed recently. 

Could anybody lend a hand? Thx very much!

新しいオシロスコープでLabviewを用いて波形を記録したい

$
0
0

Labview初心者です。

前任者の作ったプログラムを引継ぎ実験を行っています。

 

今までLecroyのオシロスコープを使っていたのですが、故障していまい、

新しくowonのXDS3302を購入しました。

 

Windows7

Lavbiew2014

 

LANで接続し、owonに付属していたLabviewの波形観測プログラムは動いたのですが、

今まで使用していた波形記録プログラムが動きません。

 

違いがあるとすれば、

ブロックダイアグラムで

owonのはIPアドレス

LecroyのはI/Oとなっていることかと思うのですが

どこを変更すればいいのでしょうか?

 

How to use USB to control YOKOGAWA AQ7280

$
0
0

If I use the AQ7280 usb drive (like picture 2) or use the NI-VISA Drive Wizard (like picture 4), the MAX also can not find the usb devices. 

Thank you

新しいオシロスコープでLabviewを用いて波形を記録したい

labview 建立的project生成的Dll,数组是重新定义了么?需要怎么使用?

$
0
0

labview 建立的project生成的Dll,数组是重新定义了么?需要怎么使用?

微信截图_20190524153512.png微信截图_20190524153715.png微信截图_20190524153745.png

labview的内部是不是又有自己的一套数组定义方式啊?如果要用 需要怎么使用?

typedef struct {
int32_t dimSizes[2];
int32_t Numeric[1];
} Int32Array1Base;
typedef Int32Array1Base **Int32Array1
这个类型真的不懂怎么使用,求大神教一下,十分感谢!!!
Viewing all 69084 articles
Browse latest View live


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