-
Posts
688 -
Joined
-
Last visited
-
Days Won
21
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Jordan Kuehn
-
Tip on how to copy RT build specs to new type of target
Jordan Kuehn replied to Mads Toppe's topic in Real-Time
Agreed 100%. -
Tip on how to copy RT build specs to new type of target
Jordan Kuehn replied to Mads Toppe's topic in Real-Time
I've done some of this in the past (when SCC decided to "merge" my lvproj file), and it seemed straightforward enough. I think I recall the primary reason it is unsupported is because they can change the xml structure at will. Currently I have use for this because I have one cRIO on my desk to test with and another in a system to deploy to. If only we had a way to virtualize targets, but that's a different can of worms! -
I'm not surprised by this, but thank you for weighing in. Maybe when NXG reaches CG parity in 2050.
-
Thank you for the confirmation. I have done something similar using numeric types, but it is inconvenient at best. An NXG version of this toolkit would be fantastic.
-
I've been using this toolkit when passing data to a WebVI in LabVIEW NXG 5.0.0. It appears that the JSON parser built into NXG WebVIs is incapable of reading enums or timestamps. I am not certain if that is a limitation of the parser or the encoder. Are you able to shed any light on this drjdpowell?
-
I am taking a sabbatical from LabVIEW and NI R&D
Jordan Kuehn replied to Aristos Queue's topic in LAVA Lounge
Congratulations on this new adventure! -
Has anyone used the Python Nodes on Raspberry Pi?
Jordan Kuehn replied to The Q's topic in LabVIEW Community Edition
I have tried and experienced similar results. I have been able to accomplish simple tasks by calling python from the System Exec.vi with the appropriate parameters and such. It's slow, but is ok for some things. It did require using the Chroot/SSH "Trick". -
Azure IoT + MQTT
Jordan Kuehn replied to Neil Pate's topic in Remote Control, Monitoring and the Internet
@Steve Drouilhet No problem. I believe it was this toolkit: https://github.com/Indie-Energy/AWS-IoT-RESTful and the license is pretty wide open I believe. If I have a chance I'll see if I can pack it up and contribute to the project on the github. I'm also using the WireFlow toolkit (paid) for some MQTT projects with a broker that I've set up. I was initially drawn to the Indie-Energy one even though I have a WF toolkit license since it was more plug and play for AWS. I do think now after learning more about the AWS IoT stuff that either will work, but also that I don't want to work with AWS IoT if I can help it. Note, the WF toolkit does not use the native LV2020 implementation and they do not have plans to do so. The reason I replaced the IE toolkit TLS code is because I had issues on Linux RT and that fixed it. I have not had issues in general with WF on RT, but I'm not using TLS in that application (yet). -
Best Labview Training in Hyderabad - HKR
Jordan Kuehn replied to soumyarani's topic in LabVIEW General
That's not even a real address... -
Azure IoT + MQTT
Jordan Kuehn replied to Neil Pate's topic in Remote Control, Monitoring and the Internet
I have not used this particular client, but have done something similar with AWS and MQTT and a different client. I wound up stripping out all the OpenSSL stuff for the new native LabVIEW tools. Here is what worked for me during some initial tests. It may not be perfect, but hopefully it's a start at least. After that it's regular TCP Read/Write. -
Thanks, that is almost exactly what I've taken to doing.
-
I just found this thread and have been getting hit by this pretty hard on my current project. That and classes locking when I have a typedef used on two targets. LV 2020. Is the answer really just to break my projects apart into Windows and RT? I've not had to do this in the past, but I haven't had as extensive use of classes on the RT side before.
-
Factory Pattern on a VI running on RT target
Jordan Kuehn replied to Renny Sadala's topic in Object-Oriented Programming
You might check the folder permissions for the folder you created. I have ran into issues with that before. -
I've used this in the past as an inexpensive insurance policy. I've never had to restore from backup though. https://www.backblaze.com/cloud-backup.html
-
LV2020 Project Save Weirdness
Jordan Kuehn replied to Neil Pate's topic in Development Environment (IDE)
I get that one some projects and not others. I'm used to being able to close out the project and it closing everything else out and prompting to save. But I don't think that's only on 2020, I have it in 2018 as well, same projects. -
Thanks for all the links. I had seen discussion some time back and had never jumped through the hoops to make it happen. Currently I have three different cRIOs on my desk which gets to be expensive. I'll give this a shot!
-
I was getting this in LV2018. I get something similar still in LV2020, as well as projects that don't seem to leave memory even after they are all closed out to the main LV screen. They open back up instantly.
-
Question: Does anybody use "Cyth SQLite Logger"
Jordan Kuehn replied to drjdpowell's topic in Database and File IO
I'll be honest, the very basic Event Logger Library from NI meets my needs 95% of the time. I have heard of an offering from DMC called Llama while attending one of the local user groups in Chicago, but haven't had any time to give it a shot. -
LINX SPI CE Line select - Raspberry Pi
Jordan Kuehn replied to Jordan Kuehn's topic in LabVIEW Community Edition
Thank you for the pointers. Unfortunately that didn't work either. Does the ioctrl c command behave differently than spidev in python? I may be able to give this a shot again in some time, but for now I was able to use a combination of the SSH trick and calling python commands from the CLI to get things working, albeit slowly. Figured I would at least leave a note here for now. -
What do you think of the new NI logo and marketing push?
Jordan Kuehn replied to Michael Aivaliotis's topic in LAVA Lounge
NI Systems Engineering -
What do you think of the new NI logo and marketing push?
Jordan Kuehn replied to Michael Aivaliotis's topic in LAVA Lounge
Perfect. I know exactly what I missed. Thanks! -
LINX SPI CE Line select - Raspberry Pi
Jordan Kuehn replied to Jordan Kuehn's topic in LabVIEW Community Edition
At risk of derailing my own topic I'd like to see if someone might be able to shed some light on my original problem. Below is a snippet of code that I've put together in an attempt to replicate a python routine that is not functioning properly. It works fine in python. Address is 1 and I have tried a variety of CS pins, modes, bit order, and asserting the Frame line or not. And the Python routine attached, relevant sections below. This is for a RELAYPlate hat. GPIO.setmode(GPIO.BCM) RELAYbaseADDR=24 ppFRAME = 25 ppINT = 22 GPIO.setup(ppFRAME,GPIO.OUT) GPIO.output(ppFRAME,False) #Initialize FRAME signal time.sleep(.001) #let Pi-Plate reset SPI engine if necessary GPIO.setup(ppINT, GPIO.IN, pull_up_down=GPIO.PUD_UP) spi = spidev.SpiDev() spi.open(0,1) localPath=site.getsitepackages()[0] helpPath=localPath+'/piplates/RELAYhelp.txt' #helpPath='RELAYhelp.txt' #for development only RPversion=1.1 # Version 1.0 - initial release # Version 1.1 - adjusted timing on command functions to compensate for RPi SPI changes def getID(addr): global RELAYbaseADDR VerifyADDR(addr) addr=addr+RELAYbaseADDR id="" arg = list(range(4)) resp = [] arg[0]=addr; arg[1]=0x1; arg[2]=0; arg[3]=0; ppFRAME = 25 GPIO.output(ppFRAME,True) null=spi.xfer(arg,300000,60) #null = spi.writebytes(arg) count=0 # time.sleep(.01) while (count<20): dummy=spi.xfer([00],500000,20) if (dummy[0] != 0): num = dummy[0] id = id + chr(num) count = count + 1 else: count=20 GPIO.output(ppFRAME,False) return id RELAYplate.py -
What do you think of the new NI logo and marketing push?
Jordan Kuehn replied to Michael Aivaliotis's topic in LAVA Lounge
If they would make the product page usable again I wouldn't care one bit. It is absolutely miserable to find a c-series module for example. They did at least move the data sheet link to the pop-up but wow is that thing bloated and terrible. -
LINX SPI CE Line select - Raspberry Pi
Jordan Kuehn replied to Jordan Kuehn's topic in LabVIEW Community Edition
I also noticed after looking around some more that it was a static call to spidev0.1. Ironically this is what I think I need so I may have another issue. It sounds like you are making some serious updates to the code. I agree that if there is no arbitrary CS pin selected it shouldn't force you to pick one and toggle it for no reason. Are you planning to submit these changes as part of a contribution to the github or release the changes at all?