Multichannel-systems NeuroExplorer Instrukcja Użytkownika Strona 200

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 373
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 199
5.5.5.4. SetNeuronType Function
SetNeuronType Function
Changes the type of the specified timestamped variable.
Syntax
SetNeuronType(doc, var, type)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
var variableReference Reference to the variable.
type double If type is positive, the variable type is set to 'neuron',
if type is zero or negative, the variable type is set to
'event'.
Returns
None
Comments
Neuron and event types are almost identical. The main difference is that when a data file is opened
by NeuroExplorer, all the neuron variables in this file are selected for analysis.
You may need to use this function when creating new neuron variables using NewEvent. NewEvent
creates an event variable and the variable type can later be changed to 'neuron' using
SetNeuronType.
Usage
NexScript
doc = GetActiveDocument()
doc.neuron1 = NewEvent(doc, 0)
SetNeuronType(doc, doc.neuron1, 1)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 198
Przeglądanie stron 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 372 373

Komentarze do niniejszej Instrukcji

Brak uwag