Jump to content

Dan Bookwalter N8DCJ

Members
  • Posts

    54
  • Joined

  • Last visited

Posts posted by Dan Bookwalter N8DCJ

  1. Ok , I have a project I need to work on , with out a ton of time , 1.5 months , it uses cRIO (9035 Chassis) , I just need a quick primer on AI,AO and DO... I am reading as much as I can .... but , any examples would be greatly appreciated ...

    Ni-Max and LV see the 9035 , I have RT and FPGA licenses , Ni-Max says I have all the s/w , but , I cant find how to do a test in Ni-Max like the examples I see on NI.com

    I am connected via USB , ultimately it needs to be connected via Ethernet ....

    I know I am asking a lot at the moment , but , anything that can get me going would be fantastic.... 

    Regards

    Dan

  2. 15 hours ago, Aristos Queue said:

    I got a PSE to work on this for a while this week. We couldn’t replicate the issue. It’s a pretty bad bug — wiping out the whole directory. If you have more explicit steps to reproduce, please consider filing a bug report with NI. 

    AQ

    I will try again today and see if i can replicate it....

     

    Dan

  3. 25 minutes ago, FragRz said:

    Sorry, I should have explained more clearly what it means that the method is private.

    In short, private methods are not officially supported - they may not have documentation, they may not work, or they may even have unexpected side effects - just like in your case.

    FragRz

    I didn't mean the private Method you referred to , I was talking about the when you have LV open and go to Tools -> Compare -> Compare VI Hierarchies...

     

    Dan

  4. Well , since I installed the evaluation version of LV2018 i played around with the Compare VI Hierarchies tool , it actually does everything I need ...

    But , be cautious using it at first when Creating a Report , it did the webpage report just fine , when I tried to create a Word Doc it failed , AND , deleted everything in the directory it was supposed to save the Word doc in , luckily I was using the Temp directory so it wasn't a big issue , in fact on a second try at it , it deleted the Temp directory too , not just the contents...

    As I said I am using the evaluation version , so , maybe something is wrong with my install.

     

    Dan

     

     

  5. After much googling I think I know the answer , but , I will ask here...

    I need to write a utility to compare vi's in a large project , and probably future projects..

    Automating the Compare Hierarchy is pretty simple , but , I need to go one step farther and and show the differences circled then saved as a jpeg etc....

    As of now there doesn't appear to be a way to automate showing the differences  , it will be a real pain to have to do it all manually ...

    We are currently using LV 2012 , but , will be upgrading to either 18/19 soon...

     

    Dan

  6. Well , your memory is working , I went back and disabled the part that replaces the DD control , and it works as expected , I think I will just rename it ...

    the 2 others on the front panel are of the Default class , (In/out) , it appears I have to replace them as I get the Connector pane doesn't match on the DD vi's if I don't ....

    it works , so now I will move on to the next issue on my list , I may come back and revisit it at a later date to see if I am doing something not quite correct...

    Dan

  7. 8 minutes ago, shoneill said:

    which is basically just automating what I said above.....

    Do you really need to change the controls? When you do a Save As from LV, it changes the type of the controls for you.....

    Yep , basically all I did ...

    if I don't change the controls , it doesn't work correctly , I will investigate a little more and see if I can eliminate that step...

    Dan

  8. Ok , I would like to programmatically copy a Default class and a Default Test.vi to another folder say , XYZ , rename the Default Test.vi to XYZ.vi, then change its DD terminal from the default class  to the newly created  XYZ.lvclass and add it to the project.

    I currently can do everything I need to do , except , after changing the XYZ parent to the Default class I copied it from , add it to the project etc....

    When I try to open the newly created/renamed  XYZ.vi from the project I get a dialog box that says  , "Default.lvclass:XYZ.vi" is at the expected path but it is part of a library. Default.lvclass:XYZ.vi" will be opened but it will be removed from the project".

    I really need to be able to do this programmatically , we will have hundreds of test cases that will have different functionality but use the Default Test.vi as a starting template , I also have to assume that future users will be totally unaware of classes and how to create/use them... I have a framework that should be very expandable in the future , I just want to automate as much as possible....

     

    <EDIT> I should mention this is in LV2012 <EDIT>

    TIA

    Dan

  9. You can do this too.  Capture Mouse Down? then use the coordinates and the invoke node to get the row and column clicked, then set the background color the the blueish color.

     

    LabVIEW can make software with any UI capabilities of any other programming language.  It just might take some work arounds.

     

     

    Hooov

     

    Thank you sir .... done....

     

    Dan

  10. Hooov

     

    I was kind of worried about that .... I have already started down the road of populating as the user clicks on the control... I wish there was a more elegant way of doing this , but , I can deal with it this way ....

     

    Or if a Multi Column list box would allow you to highlight different cells in columns I could work with that too... My limited messing with the multi column list box it didn't appear I can do that either...

     

    Thanks

     

    Dan

  11. Ok I must be overlooking/overthinking this , but , I have an array with a cluster that has a String control and a Combo box that needs to get populated .... I cant seem to get the combo box to populate properly... how does one go about setting the string values of the combo box  in each cluster/array element , every element gets populated with different data.

     

    Thanks

     

    Dan

  12. Hello All

    I have been away from LV programming for some time other than some quick DAQ stuff to solve a problem , well , I am back into a couple of projects and since I am starting anew I will go the LVOOP route. I used LVOOP in its early days and drove Stephen nuts back then , so , to spare him even more frustration I will ask the experts here. This is very basic , but , my memory isn't so good anymore so I need a re-fresher.

    What I am doing is taking data using my DAQ Class from three sensors , Temperature , Flow and DUT output , I need to do a little processing on the data and was going to have each type be its own class , especially since I am sure the sensors and processing will change down the road. But , as I got into it , no matter what route i went down (via LVOOP) it seemed to be awkward whatever way i was approaching it and stopped and decided to see what you guys suggest , I know it is very basic but what is the best approach (design pattern) to use for something this simple.

    In addition to the processing the data I also need to Graph it , save it to file etc... all the usual stuff we do with data...

    thoughts...

    Dan

  13. Ok , it has been awhile since I have had to use the webserver for remote panels , but , i cannot get the server to start up , it is enabled in the apps INI. ther emust be something that i am overlooking ?!?!? I have the settings in the app builder set to copy the LV ini , i have the webserver turned on in the dev environment...

    what am I missing, i desperately need to get this working

    Dan

    Ok , i figured it out , i had to go into the niwebserver.conf file and change the document root from .//..//...//www to c:/www

    Dan

  14. Ok , it has been awhile since I have had to use the webserver for remote panels , but , i cannot get the server to start up , it is enabled in the apps INI. ther emust be something that i am overlooking ?!?!? I have the settings in the app builder set to copy the LV ini , i have the webserver turned on in the dev environment...

    what am I missing, i desperately need to get this working

    Dan

  15. Well , i have the 2009 dvd's at work sitting in a box (i am not at work , but remoteing in ), guess i will download 2009 and install it remotely , hope my machine reboots ok...

    Dan

    Well DUH , guess I need new contacts , my monitor is a bit old , but , the issue with the shared variable was rather dumb..... in the deploy library method I had the variable as data,lvlib instead of data.lvlib :oops::oops::oops:

    Dan

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.