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

NHR DC Load drivers

$
0
0

I don't know if anyone else has used NH Research test equipment (Just DON'T) 

 

I am in search of the NHR software and LabVIEW drivers. 

 

I have a request in with NHR but as anyone who has had the misfortune of dealing with them knows, NHR is not very responsive when it comes to technical support.

 

If anyone here has a somewhat recent copy of their software package for the NHR 4700 series DC loads I would love to get a copy from you.


0xF Resource not found. Could not load Front Panel if there's a broken member of a class

$
0
0

If there is a broken member of a class and you build an executable, you get an error when you run the executable:

 

LabVIEW: (Hex 0xF) Resource not found.

 

An error occured loading VI 'Class xxx'

LabVIEW load error code 3: Could not load front panel

 

A few odd things:

  • I don't use the front panel or call the broken member in any way. Why is it trying to load anything? I have "remove unused members of project libraries" checked but it seems like the unused member is not actually removed from the EXE which makes it larger than it has to be.
  • Why didn't the builder notice this problem when it was building?
  • The top level runs just fine so why is there an issue when it becomes an EXE?
  • At the very least, couldn't the RTE wait until it's asked to run the broken member before throwing this error.

 

FTDI libmpsse.dll crash

$
0
0

Hi all,

 

I am using FTDI C232HM cable to implement SPI function in my Labview 2015 SP1, it had functioned well (I've verified SPI READ/WRITE and deploy the compiled program to other PCs, all functions well)

 

However last morning when I tried to open my VI file the Labview crashed.

 

I've tried to debug and found that the crash happened when Call Library Function Node calls libMPSSE.dll, it's weird cause I didn't do anything to the dll files, and I even tried to re-install the whole Labview develop env but didn't works....

 

My OS is Win 10 64 bit and using Labview 2015 SP1 ver 15.0.1f10 (32bit)

 

The attachment is the SPI READ subvi and also the dll files are attached.

 

 

Classer par occurrences

$
0
0

Bonjour, 

 

il y’a peu de temps on m’a demandé quelque chose à faire que je ne sais pas faire. 

il faut : 

 

-tirer 6 nombre de 0 à 49.

- répéter 10 million de fois. 
- compter le nombre d’occurrences avec un tableau.

 

c’est comme un loto ou l’on compte le nombre de fois qu’on tombe sur un numéro. 

merci d’avance 

请问labview包含视觉模块打包dll文件后如何调用

Smart open.vi - MyRio

$
0
0

Hey guys,

 

I got a question about the smart open.vi

Its a vi used in combination with the MyRio.

 

The programmed vi we use worked for month and has no grat problems with the smart open.vi so far. I once had an syncronization issue within the smart open.vis, which was solved with a mouse klick. The same issue suddenly appeared yesterday and was "fixed" again.

 

However the smart open.vis (analog and digital) are not working as they should (no information, e.g. temperature from thermo elements are received; or can be sent / controlled , e.g for heating cartridges).

--> neither the MXP Connectros A & B nor the MSP Connector C is working anymore

 

Restarting the Rio over the IP in the browser didnt help.

 

I sent you some pictures for an better overview - didnt find the error online.

 

The error in the programm is niLvFpga_Open_myRIO-1900.vi - Error -52005

and after opening and running the smart open.vi only, it returns the Error -363010 AI.lvlib:Smart Open.vi

 

Im not sure how to fix the issue. Is it "only" a syncronization error or something else?

The last time the vi worked was last week. I didnt work on the vi for about a week and went yesterday back to university and it suddenly returned the "sync" probem (fixed, see above) and the attached errors. There was nothing changed in the vi or the Rio.

 

 

Error_RIO.PNG

 

Smart-open.PNG

 

 

Thanks for your ideas and help

Greetings Samuel

Building dynamic UIs with subVIs and sub panels

$
0
0

I try to build a database-driven application, where UI elements/controls on front panels are populated dynamically based on data from database queries. I would NOT like to build UIs at design time which have all possible controls pre-defined and are shown/hidden dynamically. I am currently experimenting with subVIs placed at runtime in a sub-panel. Where the code works expected if I only place one subVI-instance in the sub-panel, I am not successful with placing multiple instances of one subVI in one sub-panel. Note: I would NOT like to have hard-coded sub-panels for each instance of the subVI. How do I do this? Is this possible at all?

 

Currently my code looks like this:

Bildschirmfoto 2021-09-28 um 11.00.40.png

 The code works in a sense that the subVI is placed three times in the sub-panel, each instance below the other. However, the instance created in the previous loop becomes invisible or is destroyed as soon as a new instance is placed in the subVI.

 

Find rise time, fall time of a waveform from a Picoscope

$
0
0

I have a wafeform from a picoscope and I need to decode it to measure the rise time, fall time etc. Unfortunately there are no such options available in the driver I downloaded for controlling the picoscope, I can only obtain the waveform. So I would like to use normal LabVIEW VIs to obtain the rise time, fall time of the obtained waverform from the picoscope. How can i do that. Thank you. 


Learn Waveform Pallete

$
0
0

Waveform Palette.jpg

 

I want to learn the waveform palette in blockdiagram. Are there any pdf files or something like that that can help learn this. Also what is the input waveform(dbl) that goes into all these VIs. Because I try to connect to this input the output of that which is going into the waveform chart, which is a random number generator in a loop, but it is showing an error. So what is that. Thank you. 

Classer par occurrences

Programmatically check a VI for the existence of hotkeys/short cuts/key navigation

$
0
0

Hi everyone,

 

Is there any way that I can detect whether controls in a VI (acces by strictly typed VI reference) have been associated with a shortcut key?

 

I am only interested in the boolean output, but for a more general user the problem could be to programmatically map the specific shortcuts of an ensemble of VI's (or just one) to get an overview or for documentation purposes

 

Thank you all in advance - I hope the problem is described precisely enough.

 

Mikkel

Machine vision

$
0
0

Hi everyone! I wonder if It is possible to disable timeout from Configure Trigger3.vi? I am using a line scan camera. As well as the hardware trigger is asincronous I need not to sop the app even when stopped hundreds of seconds.
Thank You

save excel table as pdf file programmatically

$
0
0

I have a simple excel file that contains a table and I want to save it as a pdf file.  I have done this manually as shown in the attached paint file "Save excel as pdf_1.png" and it works perfectly.  the resulting pdf file is also attached "Student_Records.pdf".

When I try to do the same thing programmatically using LabVIEW Activex, there is no error and the pdf file is created, but when I want to open the programmatically produced pdf file, it shows an error as in the attached file "Student_Records_Programmatically.pdf".

Also attached the zip file that contains the full folder with the Labview VI and the excel and pdf files I am talking about.

Can someone out there tell me what I am doing wrong.

Your help will be greatly appreciated.

How to read data from the Kinesis device

$
0
0

Hello Ni Community,

 

I have been using Kinesis Brushless Motor Controller (KBD101) device, with the help of Kinesis .dll files I have written a code in Labview. Everything is going fine. I have a concern about data saving in compute. When I use KBD101 it is showing rotation of angle. Now my task is to save that angle data into any one of the formates (text file,graph, excel etc:). Could you please help me with your suggestions and ideas for saving the data. For your reference I am attaching the figures of codes, Could you please check the code and let me know your valuable suggestions.

 

Thanks 

Vijay

Help with cRio 9045

$
0
0

I am using  cRio 9045  with 2  NI 9213 modules and NI 9207.  Im facing issues in my VI , while running it , I don't know why it is happening. 

Please if somebody can check and let me know , would appreciate it if someone can make it simpler. 

Thanks a lot. 

I am planning to connect pressure transducer to 9207 and temperature thermocouples to 9213s.

Thank you again

 


 


Comparar hora

$
0
0

Hola que tal grupo soy nuevo y quería saber como hacer un ví que sea aprueba tipo aprueba de engaños en la hora por ejemplo obtienes la hora del sistema pero si alguien cambia la hora del sistema por ende cambiará en labview y quiero saber cómo hacer algo que conserve la hora y no se actualize

Error Downloading LabVIEW Community Software

$
0
0

I am unable to access LabVIEW Community. After downloading the LabVIEW Community software from the NI site, an application called "VI Package Manager" appears on my desktop. When I open this application, I am not able to run VI files from LabVIEW, in the top right corner it says "Launch VIPM file". I have tried uninstalling all software and then reinstalling the software multiple times with no success. Any suggestions for next steps? 

 

Thanks, 

Nic 

Initialization and de-initialization

$
0
0

Hi All,

My program, usually, initializes everything at the beginning of program and de-initializes at the end. A picture below shows this idea. If any item during initialization would give an error then rest of code will not work and  initialized items will not be de-initialization.

It is possible to check "references" but sometimes it is not helpful. For example, file reference isn't defined if the reference wasn't used.

 

If somebody uses the same approach, please, share your technique.

 

Thanks, Andrey.

 

 

image.png

Don,t Find Resoure(VISA),Return Error Code:-2147220623

$
0
0

I have successfully installed NI VISARuntime 19.5,but there was an error running the software. Please see the attachment for details (front panel and program screenshots)

Towers of Hanoi Mini Game

$
0
0

Hey all

I am trying to create an 8 block towers of hanoi mini game in labview that communicates with robot studio which will simulate each block moving in the game. I have a pretty basic interface setup in which I am moving around square LED around the screen to visualize each move. i am trying to read the left and top properties of my selected block and depending on the value send a number from 1-8 to Robotstudio so it can determine where the block is to be picked up. Then depending on my selection i am moving the LED bar to its next position.

So my code that i send looks something like this. 15436 - 1(stack 1) 5(position 5) 4(Block4) 3(Go to stack 3) 6(Go to position6).

 

The problem i am having is that by the time i send the code to RS the LED block changes and updates the sent code so that's its initial position changes to read its new position so instead of sending 15436 i get 36436 at the other end. how do i fix this ?

 

I am running a sub vi to delete unnecessary zeros out my array so make sure to have that if you run my file.

 

Viewing all 67113 articles
Browse latest View live


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