Jump to content

Robst

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Contact Methods

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2003

Robst's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. As expected, coding! (Should I say drawing?)

  2. Hello: This issue is already solved, but I post the solution in case somebody finds himself/herself in the same trouble. You can find the solution here: http://forums.ni.com/ni/board/message?boar...=340779#M340779 But it's in spanish =P, so I offer a description of the solution here. The problem was that you cannot log alarms and user events to a database before storing some data in a trace. Once you have data, now you can log the alarms and events. Also, I couldn't log any alarms and events because I was creating the database in a folder inside "C:\Program Files" and the DSC engine didn't have access to it, so it couldn't write the files mssql.ldf y mssql.mdf. You can modify the access permissions following the instructions in this document: http://digital.ni.com/public.nsf/allkb/7B8...F8?OpenDocument (In Windows XP, in order for the security tab to appear in the folder properties dialog, you have to reboot in safe mode) Hope this helps. Robst.
  3. QUOTE (Paul_at_Lowell @ Jul 8 2008, 03:28 PM) Hello Paul: Thanks for answering, well, I'm trying to log shared variable events and alarms and also user defined events. I was trying to generate and log user defined events using the "Set User Defined Event" VI, but I haven't had success right now. Neither the shared variable event nor the user defined events are being logged. Right now I can't log alarms and events in any database, including the DSC Default_Database. And yes, I've enabled logging and alarming for each of the shared variables. Any ideas? Thanks in advance. Robst.
  4. QUOTE (vk1 @ Jun 26 2008, 06:43 AM) Hello: To find out more about the State Machine design pattern you can: Check this article in the NI Developer Zone: http://zone.ni.com/devzone/cda/tut/p/id/3024 And this entry in the LabVIEW Wiki: http://wiki.lavag.org/State_Machine Hope this helps! Robst.
  5. Hello: I´m trying to log User Defined Events to a Citadel Database. I've created a Citadel Database, some Shared Variables, and I've configured the Libraries to Log Alarm and Event data to the same database used for Data Logging. I thought that calling the "Set User Defined Event" VI would generate the event and log it to the database. However this doesn't happen, because I'm not able to log any event to the database. When I try to query the database using the "Alarm and Event Query" VI, I get an error message that says: "The given Citadel Database is not currently configured to log alarms to a relational database", but the database IS configured to log alarms (It's specified in the library properties). I can log data and see the traces in MAX/LabVIEW, but can't log alarm or event data. I've checked out the database directory and the files "mssql.ldf" and "mssql.mdf" are missing, but I don't know why. The default database that comes with DSC has both files, and when I query it I have no problems, but all the databases that I create via MAX or LabVIEW doesn't have that files. In further investigation I've found that this may be happening by a problem in SQL Server Express (the DB engine behind Citadel) so I uninstalled/reinstalled DSC (which includes SQL Server Express) but the problem is still there. I can see that the events are generated, because I can see them when I call the "Read Events" VI, but I can't log them to the database. This is driving me mad, no more ideas right now. Any help is appreciated. I'm using LabVIEW and DSC 8.2.1 Thanks in advance. Robst.
  6. QUOTE(ooth @ Apr 13 2007, 02:48 PM) Thanks ooth, it works perfectly, I didn't saw that property . Thanks a lot.
  7. Hello: I have a little problem with the Multicolumn Listbox and I hope somebody around here can help me. I have a Multicolumn Listbox with few rows visible, let's say 4. Then I fill the Multicolumn Listbox with many elements, for example 20, and scroll down to see the last element. Then I "re-fill" the Multicolumn Listbox with few elements, let's say 3, they are not visible, so the user manually has to scroll up to see them. How can I programmatically move the vertical scrollbar to the top when I "re-fill" the Multicolumn Listbox? I've looked for a Property or something to do so, but haven't found it yet. See attached VI. Any help is appreciated. Robst
  8. Robst

    Menu

    QUOTE(Sally @ Apr 13 2007, 05:23 AM) Hello Sally: You can use the XY Graph as crelf said to do what you need. It's located on the graph pallete. I've attached an screenshot of a very simple VI that uses a XY Graph. You can also find an example of how to use the XY Graph in the LabVIEW Example Finder (Menu Help->Find Examples...), then, choose the Search tab and use the keywords "xy graph". Hope his helps Robst
  9. Hello! I've just started this thread to greet you all my G-programming fellows. I found out this forums and realized that there are a lot of LabVIEW masters around here so I thought it would be a great idea to be part of this community!! Regards! Robst
×
×
  • Create New...

Important Information

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