-
Posts
3,392 -
Joined
-
Last visited
-
Days Won
284
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by hooovahh
-
I ran into this several times in the past and haven't experienced it lately. I'm guessing NI has fixed it in future versions. It is still annoying and so I'd update to the latest patch level you can in the hopes it is resolved there. Like I said if you know where there is an issue just add an Always Copy, but the problem is when VIs are behaving that way and you aren't aware of the issue.
-
So a while ago I wrote a XNode that would add functionality to the traverse for GObjects. One thing it would do is order the references based on their positioning on the front panel or block diagram. The most common use for me was for something like a grid of buttons. I would want them ordered from left to right and top to bottom so I made an enum input to the XNode that orders them after finding them. It would also return the reference as a boolean so no casting was needed after. Of course this goes with the normal "XNodes are experimental" statement but you could look at the code and see how I did it if you wanted to not use it.
- 8 replies
-
- array of boolean
- race condition
-
(and 1 more)
Tagged with:
-
Your usb2RS232 device is likely a counterfeit Prolific, or FTDI chipset. The official makers of Prolific and FTDI have pushed out driver updates which disable counterfeit hardware which previously worked with the official drivers. At one point an FTDI driver disabled the counterfeit hardware making it not work in any computer once it had be used with the official driver. These updated drivers have been published as Windows Updates, and as a result they have stopped working unless you manually roll back drivers and force uninstall the newer ones. Not saying this is your situation but it has been mine. You often have no way of knowing if counterfeit chips are being used. An update will come through and they suddenly stop working. As for the LabVIEW thing yeah that is on NI. But to be fair they can't support every operating system with every version of LabVIEW and the more they cut out the more resources they have for other support issues.
-
Throw in an always copy liberally and I'm guessing things will work start working. If you can isolate it well enough send it to NI for them to investigate. What version of LabVIEW and patch level?
-
I don't share your opinion of Windows 10. I haven't had hardware access issues, and as others have said current gen LabVIEW is supported on several operating systems. 2015 SP1 is supported on 6 different Windows OSs according to this table, that seems pretty extensive to me. That means Virtual Bench 15.0 should work fine on XP. Expecting Virtual Bench drivers to support 8.5 seems like a stretch since it came out 8 years before the first release of Virtual Bench (correct me if 15.0 isn't the first release of Virtual Bench) There are things I hate about Windows 10, but the start and tile really doesn't bother me. In the past I have installed Classic Shell to get a basic looking start experience, with a skin that looks like Windows 10. But even on systems that I don't do this on it doesn't bother me. Windows 8.0 with the full screen tiles did bother me, but even then most of the time I just started typing what I wanted, or pinned important programs to the task bar, or used desktop shortcuts on systems I'd deploy to. Most users of my systems don't open the start at all, they just use the software I write anyway. And on systems I develop on I'm free to customize it however I want.
-
The State of OpenG (is OpenG Dead?)
hooovahh replied to Michael Aivaliotis's topic in OpenG General Discussions
The real death of an API isn't when development stops, but instead the last time someone uses it as a dependency. (loosely quoting several people about existentialism) -
VIPM years ago did have an Enterprise version (I think they called it) which was more or less what you described. It didn't have all the features of Pro but could subscribe to feeds. At the time it seemed like it was too confusing. There was free, pro, enterprise, and I think a 4th option. In the early days of package management, people (myself included) were confused about what features were good for what and it was hard to know what was needed. VIPM was the first package manager I ever used and several concepts about feeds, dependencies, and use cases just weren't well understood. JKI simplified this with a Free, and Pro making it clear when you would want one over the other.
-
I've never used VirtualBench but if the drivers aren't supported, then they aren't supported. The only thing that might help you is that sometimes in the past NI has done things like just used DAQmx for some features, and NI-DMM for others. So if you must use LabVIEW 8.5, I'd suggest trying to find the newest version of DAQmx, and NI-DMM, and NI-Power, that work with 8.5 and install it, and see if MAX recognizes the VirtualBench at least for those features.
-
So if it wasn't clear, this release had issues. It wasn't intended to be the final LabVIEW 2018 SP1 and was an version between SP0 and SP1 for testing. It was unintentionally released to the public and wasn't intended for the general public to use, and likely won't activate. The release was pulled and if you did download it you are better off not using it until the actual SP1 release. On top of not being intended for an actual release, and not activating, it also has a bug with upgrading from 2018 f2 to 2018 SP1 which is being addressed for the actual SP1 release.
-
The State of OpenG (is OpenG Dead?)
hooovahh replied to Michael Aivaliotis's topic in OpenG General Discussions
Well I mean...it can be. ? -
How much time do you have? Packages are version specific at the moment (so a String package needs a new release for every version of LabVIEW supported, String 2017 1.0.0, String 2018 1.0.0, etc). There is no palette editing so you'll need to edit your own palette, make your own MNU files and include them. There are no Pre/Post Build actions, and in fact all Post/Pre actions are EXEs with no option for calling VIs. Only Post-Install and Pre-Uninstall actions are allowed. Package dependencies seem to only be checked between the current feed. So unless I'm mistaken all external dependencies need to be copied to the new feed with all the dependencies brought over. No dependency scanning. No package of packages. No offline single file with everything included (but an installer might make that possible in the future). Packages can't be loose VIs, they must be in something like an EXE, or source distribution first. Basically NI has been saying that NIPM at the moment should be thought of as an installer alternative, and using it for reuse distribution is going to be very difficult. That can change in the future but for now if you want to deploy an application to multiple machines, Skyline can do that because NI Packages are like little installers. Until NI makes NIPM act more like VIPM, reuse and toolkit distribution using NIPM will be much more difficult.
-
[CR] Unrestricted Invoke Node.xnode
hooovahh replied to paul_cardinale's topic in Code Repository (Certified)
In addition to this being a useful tool for development, I also this this helps demonstrate how to do some commonly requested things in XNodes. This can be seen as a template on how to handle updating the icon based on other objects, filling in the help from other sources, handling single clicking, right clicking, and replacing with non-XNode code via a right click. If anyone is looking to make a well done XNode I'd suggest looking at how some of these things are done with this one. -
The State of OpenG (is OpenG Dead?)
hooovahh replied to Michael Aivaliotis's topic in OpenG General Discussions
I've seen in the past that when updates were made to OpenG (years and years ago), they weren't to the newest version of LabVIEW and would support a couple versions back. Since VIMs are officially only in 2017 and newer that would limit those wanting OpenG's new refresh to that version. BTW I think these are the links that were intended for the XNode and VIM versions of the OpenG array tools. Both aren't just direct replacements but have a few other new functions, or new features to existing ones. Other improvements like inlining removing debugging, and automatic error handleing can also improve performance over the ones from 2009 or so. And yes I forgot about the zip utilities which work so much better than the native NI ones. -
The State of OpenG (is OpenG Dead?)
hooovahh replied to Michael Aivaliotis's topic in OpenG General Discussions
Yes many OpenG functions have native equivalents, but usually lacking in some way or another when it comes to what it can do. I made several idea exchange requests for Array, File IO, and Clear Errors to act more like OpenG. I heard rumors about a few things that might make their way into new versions of LabVIEW since VIMs are not a thing. Having my customer be my boss means I can get away with using any 3rd party tools I feel comfortable with (license permitting) and OpenG is one of those things I've just always installed on all development machines. I have a single VIPC that has all the OpenG, MGI, internal packages, and various LAVA things. As for OpenG being dead, looking at the last date of package releases makes it pretty clear development has basically stopped. -
Yeah there are several reasons why NI's mistake here isn't as bad as Microsoft's. LabVIEW 2018 SP1 wasn't automatically pushed. An uninstall and reinstall fixed the issue, doing something like that in Windows is a lot more difficult. And NI's issue isn't deleting data (that I know of). Still crappy and NI is clearly looking into it. That being said I have 2018 SP1 running on a couple machines already just fine. But yeah having the 2017 SP1 example doesn't instill much confidence. Fool me once kind of situation here. That being said I don't mind being a test subject when it comes to these things. I updated as soon as I could and took the risk on a machine I didn't care too much about.
-
A cruel prank by AppBuilder doing exactly what it was told to do...
hooovahh replied to Aristos Queue's topic in LAVA Lounge
We use a PreBuild action, which can set the build number of an EXE to the SVN commit version. This means that we'll have software 1.3.1.384 where commit 384 is the source that made that EXE. Having it in the EXE means Windows can tell me what version it is even if I can't run my application and get to an About Screen. It isn't seamless but it works well enough. -
Can you describe the issue you had after your upgraded? Maybe we can help NI in finding the issue.
-
Thanks for reminding me. I just tested it and yes the TDM Importer Version 18.0.1.7167 (as reported in Excel) now imports my TDMS files without crashing. That was a major pain because I'd uninstall TDM 18.0.0, reinstall TDM 17.x, but in the uninstall some other dependencies were removed which then needed to be reinstalled...which by default installed 18.0.0 again. Oh and it looks like the download page to this add-on was updated yesterday to the new version too. Other fixes in SP1 I've heard are related to VIMs but am unaware of the details.
-
I still have some legacy stuff that uses INI keys. The users I trust, know how to edit them pretty easily. Not saying they can't do the same for JSON but it is a more familiar looking format. It's good and bad, but every operating system has a text editor.
-
Those are all great suggestions. The read/write panel could have other improvements too a list of controls to exclude, or an option to exclude indicators. Do we really need to read and write the Error In/Out? Most likely no. The core of the code is using NI's configuration functions, which are fine for small files but for arrays of clusters of arrays it struggles. OpenG Read/Write takes a long time for large data types that are heavily nested, or array based. The MGI Read/Write Anything work much better when it comes to this.
-
I had a hard time downloading this, but it could be an IT issue on my side. The download would stall, and I'd pause, then resume to get it going again. After installing with default settings, I launched it and got an error "error unable to open resource files". I'll be performing a full uninstall and reinstall. It could be an issue on my end or an issue with the release. I probably should have tested this in a VM first... EDIT: Uninstall and Reinstall fixed it, not sure if that means there is an issue with upgrade or just me.
-
Sorry if I wasn't clear. NI's ADCS has more or less been replaced by the ISO 15765 I posted online. It doesn't do hardware abstraction with classes (it should) but I was just in a hurry to post it online and thought most people would just be interested in the G state machine. Turns out most people are interested in a different things. The ECU toolkit is the one I've started to replace but may never be able to post online. This is the one that uses an A2L for XCP/CCP. If I had time to work on it I would probably update the ISO 15765 toolkit I posted online first to add hardware abstraction, and then make a post on how to flash an ECU using it. That is a lot less effort than re-writing the ECU toolkit. That documentation link isn't broken, it is just realllllly slow. I downloaded it and attached it here. XCP -Part 2- Protocol Layer Specification -1.0.pdf
-
Vector isn't the only one, Intrepid has hardware for doing it, and ETAS does too. But as far as software capabilities go none of these hardware options provide drivers which are capable of doing this in LabVIEW. They may have LabVIEW drivers for reading and writing raw frames but no software layer on top of that other than NI's, or writing your own. I've avoided the .NET capability due to the high price tag of having that software and hardware on the system. Vector hardware is licensed for software so installing CANoe, and then calling it via .NET only works if you buy Vector hardware, then pay for it to have CANoe enabled.
-
I've been in the process of re-writing the XCP/CCP drivers to work with other hardware. A while ago I re-wrote the ISO-15765 drivers (KWP2000, OBD, UDS) into pure G so that any CAN hardware can use it. This basically replaces the NI Automotive Diagnostic Toolkit from NI. The code was simple enough and all I needed to do was re-write the core state machine and the rest was more or less the same NI subVIs. XCP/CCP is more complicated as there isn't just a single core used by NI's toolkit to replace. I do have an internal toolkit for doing XCP, but parsing and processing the A2L file still leverages NI's DLLs and if I ever wanted to release it I would want to rewrite this file parsing stuff too. My toolkit does support a Raw mode which doesn't rely on an A2L (and doesn't need NI's parsing) but in this case doing things like reading a characteristic you'll need to provide the Address, Extension, Byte Order, Number of Elements to Read, and Number of Elements in an Item. Returned would be an array of bytes. Where when using the A2L you can call a function to list all the Characteristics by name, and then read the engineering unit based on the name, with all that other stuff pulled from the A2L. I was able to accomplish this just by sniffing the CAN bus while using NI's toolkit and seeing the commands performed to do things like Connect, Unlock, Get Processor Info, Get DAQ Resolution, get PGM Info, etc. NI's toolkit has an ECU simulator, and I have a couple actual ECUs to test with. Combined with sniffing I found some documentation here that helped understand the protocol more. At the moment I can't post what I have, way too coupled with NI, and not robust, and cleaned up. But I can point you in the direction of what I learned if you have any questions about the order of commands needed for an operation, or the type of things needed. If your scope is small enough I'd attempt to just use NI's toolkit on your ECU, sniff the bus, and figure out what the commands are to get what you need. But honestly for the money the NI toolkit is worth it. I'd argue the ADCS toolkit might not be worth it (since it is available on my website and open), but the ECU one is and if you can get away with using NI hardware I'd recommend using that toolkit.
-
Not that I can think of. I mean maybe the image only technique would work but I haven't tried it and wouldn't be surprised if it didn't. Beyond that maybe something frames would work, where a VI creates a webpage, that is then inserted into another webpage. No idea if this would actually work or the issues related. It would probably be a lot of work but if you get anything working be sure and post your results here.
- 137 replies