psiam
-
Posts
16 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by psiam
-
-
How can I control PIC programmer (MPLAB IDE V8.00) with LabVIEW 7.1?
-
-
QUOTE (orko @ Apr 8 2008, 09:05 PM)
Piecing together the tidbits of HTML & JavaScript that you've provided in your screenshots, this URL should be the one that is requested when you submit the form (don't put the "ADMIN:ADMIN@" at the front of this):http://192.168.40.125:20080/EMSRequest/LoginConfirm?Login_id=Login&user=ADMIN&ConfirmPwd=ADMIN
Temporarily remove the wire going into the DS Open Connection and DS Read and wire the above URL instead as a constant to see if it will work. And no, you shouldn't need to put the [text] at the end, since datasockets use text as default. Check to verify the correct IP and port is in the URL first, of course. If using this URL still doesn't work, you've more than likely got a session cookie problem (as described above) or something quirky going on with the dynamic content being provided from the unit. An easy way to check this would be to use something other than LV and see if it works... like Curl or Wget
This is result for Curl solution,still not working.
-
QUOTE (rolfk @ Apr 5 2008, 02:39 AM)
It is a long shot :-). I think the problem might be more related to the fact that he is using LV 7.1 or lower according to his list and that DS had some issues about closing sessions properly somehow in earlier days. My memory is all fuzzy about this and it could also have been something in the DS connection of front panel controls and not sure if it was LabVIEW 6.x, 7.0 or 7.1 but there were definitly some issues. However that's so long ago I couldn't remember the details anymore, especially since I never used DS myself. Maybe also check the error cluster too. It could be that DS Read returns an error despite returning data and that DS Close does not close then which would be a bug, but it has happened in the past that some Close functions didn't execute if the error input was set to indicate an error. Rolf KalbermatterI tried that with LabView8.0,it still not working.
-
-
-
QUOTE (tcplomp @ Apr 3 2008, 01:22 AM)
This can be done by loading the actual connection VI via VI server. If you do a dynamic load and close it all info (inside LabVIEW) about the connection is lost. That should do th the job. TonIt doesn't work for VI server,do you have any suggestion,pls feel free let me know.
-
QUOTE (Phillip Brooks @ Feb 28 2008, 02:36 AM)
Well, it looks like you're using the VI http://forums.lavag.org/How-to-get-HTML-code-from-webpage-by-labview-t7595.html&view=findpost&p=28630' target="_blank">from here. Suggestions: Set the timeout (default 10,000 ms) to something longer. If it works sometimes and not others, the call may just be timing out waiting for a slow server. The vi provided (and the one from the link above) do not have any connector pane inputs or outputs. How do you pass in the user name and password?Picture below show how to pass in the user name and password.
-
I noticed you are not closing the data socket. I don't know if this will help or not, but you could try something like this...
It doesn't work,it still show the same problem (need user and password),pls see picture below.
Do you have any suggestion,pls feel free let me know.
-
Back ground
I got some problems about security page block issue ,I'm Test engineer and working with some network products ,we use Labview for get information from UNIT via web page ,after we got information from 1st unit with some IP (example :10.196.40.100) then we take new unit and test with same procedure and same IP .So,we can't get information from 2nd unit because we got some problems about security page block issue (that page need user and pwd again).
Our solving (for short term)
1.close Labview program every time after test passed.
2.change IP for next unit.
***************************************************
So,I'd like to know how to get information from next unit via web page without close Labview program or change IP.
More information
We use Labview module same as in attached file.
-
I'm using Labview 7.1 and I'd like to use Internet toolkit (URL module).So,how to get it ?
-
QUOTE(Phillip Brooks @ Feb 25 2008, 07:11 PM)
Yin-dee-ton-rab, psiam!If you can you show us any code, it might be easier to help. Upload a picture or a sample of the VI you are using.
Questions:
How does the operator enter a user name and password?Are you using the "Prompt operator for input" Express VI?************************************************
This is my code for get information from web page,pls see as in attached file.
Do you have any suggestion ?
-
QUOTE(Khalid Ansari @ Feb 24 2008, 12:07 PM)
Not exactly sure what you mean by a "UI" page. If you mean a web page, you can use the DataSocket VIs passsing it the URL. The output string will be the source code of the web page.Regards,
-Khalid
*************************************************************************
REPLY...
Correct , I mean web page.And I already used the DataSocket and it work but some times it isn't work becuase it need to re-access (web page need user and pwd)
but we already put user and pwd before.
We following this format..
http://[user]:[pwd]@192.168.13.236:20080/[wep_page_name]
Do you have any suggession ?
-
how to get information from UI page (HTML and xml format)
-
I'm looking for Serial port Emulator for Cisco 2611XM (Terminal Server).
Background
1. I have main program(Labview 7.1) interface equipment via comport.
2. I have Cisco 2611XM (Terminal Server) ,normally manual interface via telnet and I don't found any Serial port Emulator for this equipment.
3. I'm looking for Serial port Emulator for interface between main program(Labview7.1) with Cisco 2611XM (Terminal Server).
Do you have any suggestion,pls feel free let me know,or contact me via e-mail (psiam@celestica.com)
How can I control PIC programmer with LabVIEW 7.1 ?
in Hardware
Posted
QUOTE (mross @ Apr 28 2008, 08:41 PM)
Thank you for suggestion from professionals person.