Quantcast
Viewing all 202805 articles
Browse latest View live

Re: Occupied resource error with DAQmx channel generation.

Thanks for your help,

I still had some issues trying to reconfigure virtual channels in the different states of the state machine and found in the end it was better to simply generate the pulse train for continuous stepping in one state and in the next simply use a DAQ assistant inside a while loop in digital out mode. A button was wired to this DAQ assistant setting it high for one iteration of the loop if pressed and when it unlatches in the next the port goes low stepping the motor once. 

 


Re: LabVIEW and "USB to 1-wire" (DS2490)

Thanks Benoit...Its a great work....you created it awesome..

 

One doubt, calling convention for the call library function should be "stdcall (WINAPI)"?? Its working for me if the calling convention is "stdcall (WINAPI)" and giving error if it is "C".

Re: Deleting repeated elements in 2D array


 wrote:

Hi Blokk,

 

+1 kudos from me for your really helpful post!

 

Could you maybe elaborate a bit more on where you found the VIM? I have LabVIEW 2017 Professional installed but could not find this VI. I only found the openG version on my machine.

 

Thank you a lot!


Just for the reference, the above mentioned vim is not an NI one, neither exists in LV2018. I totally forgot that some time before, I installed a package from LAVA, so that vim is from Hooovahh:

https://lavag.org/files/file/296-hooovahh-array-vims/

Re: Measuring TCP connection speed

Thanks Rolf, I understand your point. I forgot that TCP is all about buffers. I'll be bencmarking some methods and I'll share the results here soon.

Getting Labview to Run on an Up Board running Windows IOT core

Hey I plan on getting an Up board 

More specifically the UP Squared Pentium Quad Core 4GB memory/32GB eMMC

which has a Intel Pentium Quad Core up to 2.5Ghz N4200

 

I was hoping to run Labview on it. 
Now it doesn't come with an IOS but they have a Windows IOT core image developed for it which is free to install 

I was wondering if a .exe program that was developed on LABVIEW be able to run on it. 
Would the system be able to the LABVIEW run-time libraries


Thank you so much in advance. All the best!!

Dynamically decimate data from synchronized modules

Dear NI community,

let me, please, ask about the following.

 

I'd like to acquire data at FPGA from NI 9237 and 9234 modules. I'd like to have it synchronize by master clock from 9234 module. But, I'd like to acquire data with separate sampling rates. For example, NI 9234 with 51.2 kS/s, and at the same time NI 9237 with 3.2 kS/s.

Image may be NSFW.
Clik here to view.
FPGA acq.PNG

If I'll place it into one while loop, as in community examples (see attached screenshot), then I need to run them at the highest sample rate (or not?), and then decimate data. Please, are there some examples of how to dynamically decimate data? Because sampling rates could be any from the allowed selectable range... I've found Decimate function at FPGA pallete, but it should have fixed configuration, not on-the-fly...
Where would be more effient to have decimation - at FPGA side, or at cRIO side?


Or, then it is better for each module implement separate while loop?

 

Thanks a lot in advance,

Sincerely, kosist90.

Re: Deleting repeated elements in 2D array

Image may be NSFW.
Clik here to view.
Remove Duplicates.png

You can also use Variant attributes with the side effect of the output array also being sorted.

/Y

Re: Decoding a Labview Code


 wrote:

agreed, wiebe, they're near identical.  I looked at your code and saw loops not case structures. 


Great, we're on the same page! As your core code is almost the same as mine, and as both where independently made, makes me think it's a good solution.

 

I'm not sure what it is about the other solution, using a loop. Guess it just feels a bit less intuitive.


Re: High sample rate data acquisition using DAQ and saving data continuously. Also I would like to chunck data into a new file in every 32M

Dear Lawsberry_pi,

Do you mind sharing the code thats working well to me? 

I am new to this labview coding. 

Thanks. 

Re: How to read a set of 100000+ bmp file images

Hi,

I do not get any  error explicitly.
 However, I do not get the output as expected! Image may be NSFW.
Clik here to view.
Smiley Sad


The aim is to read a folder of bmp files one after the other and depending on the condition either save it or do not save .


When I read the file ,while highlighting the wire diagram I see the unexpected error of reading the bmp file .
I have attached the error in the post.

I included the extension too but no much help it seems Image may be NSFW.
Clik here to view.
Smiley Sad

Thanks a lot in advance! 


Re: Detection of multiple plateaus of different lengths

Update:

afterall I used the code of Zwired. It showed better performance with large data (as you already mentioned @Zwired). I changed only 2 small things and it worked perfectly.
Tim's code had some small failures (for example non-initialized shift register, and ignoring the last two plateaus)
Thank you again to everybody

Re: Exécuter une commande sur un autre logiciel

Bonjour Y_Rif,

 

La méthode la plus logique ici serait d'utiliser les fonctions ActiveX. Il faudrait pour cela que tu te renseignes pour savoir si GenICam peut être controlé par ActiveX. Il peut y avoir d'autres façon de faire ici mais ca ne sera que du "bricollage".

 

Bonne journée,

Re: NI-Max Crashing MacOS High Sierra 10.13.4

Hi TomMc!

 

Are you using NI-VISA 18.0 or NI-VISA Run-Time Engine 18.0? Does it give you a specific error text or code when it crashed? Do you have any hints in your system's log?

 

I have one first thing to check for you: This type of problem typically appears, when at the first installation of NI software, the security permission were not set correctly. As far as I know this has to be done in a window that pops up during installation. (I don't have any Mac myself anymore, so I haven't seen it for a long time.) This setting will be saved and will not appear again! So be aware that this permission window does not show during the reinstallation, as the MacOS saves the setting.

The setting can be changed in the security settings of MacOS system.

 

Cluster basic help

 Hi All,

In my process of learnig labVIEW ,I am currently working through the German Course material section Clusters,

Which is fine for me however the Professor's who wrote the book  labVIEW 2 Bernd vom Berg & Peter Groppe

shows that a person can improve the viability of a Vi by removing the datastream between the input and out put clusters by using a local variable .

My concern is by the help of the forum members on my fisrt application it was mentioned  that local variable should be used with care ,

My question what is the experienced peoples view on the use of a local variable and clusters ?

 

Input /Output Cluster

Image may be NSFW.
Clik here to view.
2.jpg

Block Diagram with local variable used 

Image may be NSFW.
Clik here to view.
1.jpg

All comments are appreciated 

 Regards

QMESAR

Re: PWM with USB-6211

Hi,

 

This problem still persists in current USB-6211 models ? As I also want to generate PWM signal for four devices


Re: Cluster basic help

Hi.

Thank you the book is called labVIEW 2 it is number 2 of a 3 series book set  ,written for labVIEW 2014,

I guess there is a few new things in 2015 and higher however the series give a good understanding of the basics 

 

Regards 

QMESAR

Re: FPGA Sine Wave Generator - how to control the amplitude?

I am using Ni 6361 USB DAQ.

 

I have attached the Vi which I have made. now have to give generated sine wave with varying amplitude range between +-10 V so I can control the mirrors to scan the sample in raster pattern.

 

mirrors configured to rotate 0,8V/1 degree.

 

 

In second attachment How can I give the varying values of amplitude from the array to the function generator? 

Re: Adding a chaotic signal to an image

1. Plottings of xm and xs signals are in the attachment.

2. Well I have to synchronize two chaotic systems (already did) and make image encryption at the same time. I think that means I have to do things simultaneously. That's why I want to observe images after addition and subtraction to see that the image is modulated and demodulated by the chaotic signals.

3.I think I have already describe my task in article 2. But I still put a diagram on image encryption here to explain what I want to do (still not sure to be able to realize that task in LabVIEW).

 

Thanks...

Regards..

Re: LabVIEW and "USB to 1-wire" (DS2490)

Re: Adding a chaotic signal to an image

I am currently trying to encrypt the image by blurring and also my image is a color image. The image which I used is also in the attachment.

 

 

Thanks..

Regards..

Viewing all 202805 articles
Browse latest View live


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