
Phillip Brooks
-
Posts
911 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Phillip Brooks
-
-
I was traveling last week, so I didn't get to spend much time on this.
While searching salesforce.com I discovered that you can override the POST method with an arbitrary method name by appending to the URL.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_update_fields.htm
Append "?_HttpMethod=PATCH" and Bob's your uncle!
-
I'm trying to use the LabVIEWHTTPClient.lvlib functions to communicate with Salesforce.com
I can authenticate, but my Salesforce IT guy tells me that Salesforce uses a concept called "upsert". It's update and insert combined; but I need to use the PATCH Method instead of a PUT or POST method.
I can't seem to find any reference to the PATCH method.
I believe the LabVIEW library uses curl under the hood.
Anyone have any ideas?
HEADER:
HTTP/1.1 405 Method Not AllowedDate: Fri, 16 Oct 2015 19:20:35 GMTSforce-Limit-Info: api-usage=36839/7918000Allow: GET,HEAD,PATCH,DELETEContent-Type: application/json;charset=UTF-8Transfer-Encoding: chunkedBODY:
[{"errorCode":"METHOD_NOT_ALLOWED","message":"HTTP Method 'POST' not allowed. Allowed are GET,HEAD,PATCH,DELETE"}]
-
When searching for a USB-RS232 adapter, look for those that use an FTDI chipset. If it has a Prolific chipset, it is probably more like epic ( fail that is
)
I recall reading that the Prolific chip is often counterfeitted in China and ends up in the cheaper devices.
I've purchased the 6' Sabrent CB-FTDI from Amazon (~$15 US) many times and never had a problem with it.
-
1
-
-
Oh yes. does anyone know the frequencies and durations to play the A-Team theme tune with the Beep VI?
I prefer Airwolf... ( http://users.elite.net/gurpal/tv/airwolf.mid )
Convert from MIDI format?
http://www.skytopia.com/project/articles/midi.html
-
I did something similar, but no LVOOP
-
2
-
-
I posted an idea on the NI forums about a year ago that is long overdue; the ability to define a regex for VISA message termination.
I had the idea after tinkering with a .NET library called SSH.NET. One of the methods of a stream is Expect.
-
1
-
-
-
Where do I start with the x-modem vi libraries? Do I Initiate receiving first or send or something else?
Do you understand the protocol? You need to know the basics of sending vs receiving before coding your solution.
Start with this...
-
Hi,
I want to monitor my robot path by use of two mouse,in vertical and horizontal movements.
Is there a way to use two mouse in labview and use their information? I know some applications that you use some mice in one computer (Like glovepie) but i dont know how can i use them in labview.
Sounds like a perfect use for a joystick.
-
1
-
-
Even at 2400 baud, you should be able to easily send 10 characters in 10ms.
Your requirement indicates 4 characters if we include the conditional decimal point. Add in a terminator and maybe a U16 as a message index and you should still be fine.
The question is, what does the other end accept? Is it another LabVIEW app, a SCPI instrument or something like an Arduino with limited resources?
LabVIEW to LabVIEW could use SI notation (%_3p) which would always be exactly 4 characters for the data.
SCPI devices normally include support for scientific notation (%_3e) which would always be 7 characters in length.
If you have a custom system, you will need to understand the parsing routine or capabilities in order to make the best choice.
If you are writing the remote device code, simply multiply your value by 100 in LabVIEW and send the value as 00000 to 99999 and divide by 100 on the remote side.
-
-
THERE IS A MENTION OF AN ATTACHMENT OF EXAMPLE VI, Where is IT?
A few years ago the forums experienced a database corruption and many of the attached files were lost or their links to specific posts were lost.
An admin may still have some ability to search for this file, but its been a long time. I checked the OPs status and they haven't logged into LAVA in several years.
-
Not sure if this is the right discussion, but here goes....
I too spend lots of time correcting the wire bends, but I find my self scrolling alot to get at those bends. Is there a way to scale down the block diagram so I can move and resize things before I get to the weeds of 1px bends?
If you use the "Clean up Block Diagram Feature", the default spacing can be excessive.
Look under Tools -> Options... Block Diagram and scroll to the bottom of the pane and you can experiment with various types of spacing.
There is an option to adjust spacing to reduce bends in wires; I forget if it defaults to OFF or ON.
If you're scrolling more than one screen up/down or left/right then you may want to consider a state machine or sub-vis.
-
QUOTE (crelf @ Jan 9 2009, 02:33 PM)
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Set-quot-Context-Help-quot-using-VI-Reference/idi-p/3094027
-
Another thing that I have been looking for, is there a way to acces context help data from within labview??
Been there, done that...
-
Maybe the customer VI contains multiple event structures and becomes somehow deadlocked?
-
I remember using a VI Analyzer plug-in years ago to validate my driver. I'm not sure if that is now included with VI Analyzer or maybe its in the Driver Design Studio.
The first thing an NI employee would likely do after receiving a driver for validation would be to test it against the requirements above using VI Analyzer.
No sense submitting a driver for certification if it can't pass the automated test...
-
-
1
-
-
LV2011 is not listed as supported with Windows 8.
I know that doesn't mean the code won't run, but the behavior sounds similar to a problem I saw when trying to run LV 8.6 on Windows 7.
Specifically, I had UI code that responded to various events that worked fine under XP, but locked up my app under Windows 7. I think one of the events was "Application Instance Close?"
This specific event might be used as an exploit by some viruses to force the close of antivirus software. Windows changes the interface and your 'unsupported' version of LabVIEW fails the OS call.
-
You might also want to consider a license server. It seems that you have more licenses and stations than programmers. With a name based licensing setup, you could load LabVIEW on all potential test stations and program anywhere. If you have test equipment that you need to interface to, access to a locally installed LV instance is much easier than using a remote desktop to your dev machine and Remote VISA back to the machine you are working from.
The only limitation is that you can't be logged into multiple LabVIEW instances as the same user name simultaneously.
In an R&D or continuous manufacturing environment, you might need to make an update to a test in situ. That may be why you have local licenses installed. With network licensing, you could log into the network, load LabVIEW, open your source code from a network location (source control assumed), make the change, compile and build. Install the new build, test and leave the station running the newly updated EXE.
If your test stations are "off the network" then you've got other problems...
Just checked the NI site and it looks like LV2011 does not support Windows 8. Windows 7 for business will be supported for a while, but if your company upgrades to Windows 8.x or Windows 10, you might not be able to run your LV programs reliably....
-
- Popular Post
- Popular Post
Food for thought:
If huge amounts of analysis and tribal knowledge is required to not write bloated, unscalable and buggy code with a certain tool. Is it not a better strategy to just not use that tool?
TestStand?
-
3
-
Went looking for the curved yellow fruit article based on a recent meeting here at work. The InsideRIA.com link has changed to developria.com
http://www.developria.com/2008/10/project-management-from-the-de.html
And it now seems to be gone
Shoulda saved that one...
-
The OP and James mentioned running a LabVIEW server app without an X server to host it.
If you had a minimal platform without a GPU, you might be able to use Xvfb to host the GUI and run a linux based LV app on embedded modules like Intel Galileo.
-
Programming for Separator Character in File Paths between platforms
in Apple Macintosh
Posted
http://themacview.blogspot.com/2014_08_01_archive.html